diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-10-21 16:14:00 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-11-04 20:32:37 +0100 |
commit | dcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb (patch) | |
tree | 20e17f4bd5cb7432af8edc03e166bd2e1ae448b2 /include/configs/at91sam9n12ek.h | |
parent | d9bef0ad2daa2f6f0b635be12518da755ddcbdc1 (diff) |
arm: atmel: get rid of too many ifdeffery
Get rid of too many ifdeffery in usb ohci driver
Add following two configuration for USB clock selecting
- CONFIG_USB_ATMEL_CLK_SEL_PLLB: using PLLB as usb ohci input clock
- CONFIG_USB_ATMEL_CLK_SEL_UPLL: using UPLL as usb ohci input clock
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs/at91sam9n12ek.h')
-rw-r--r-- | include/configs/at91sam9n12ek.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index cc79f8b06ab..4cdaed178bb 100644 --- a/include/configs/at91sam9n12ek.h +++ b/include/configs/at91sam9n12ek.h @@ -167,6 +167,7 @@ /* USB host */ #ifdef CONFIG_CMD_USB #define CONFIG_USB_ATMEL +#define CONFIG_USB_ATMEL_CLK_SEL_PLLB #define CONFIG_USB_OHCI_NEW #define CONFIG_SYS_USB_OHCI_CPU_INIT #define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI |