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/at91sam9x5ek.h | |
parent | d9bef0ad2daa2f6f0b635be12518da755ddcbdc1 (diff) | |
download | u-boot-dcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb.tar.gz |
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/at91sam9x5ek.h')
-rw-r--r-- | include/configs/at91sam9x5ek.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 4a2ac9aabd..cb57be0b5d 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -159,13 +159,14 @@ #define CONFIG_USB_EHCI_ATMEL #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 2 #else +#define CONFIG_USB_ATMEL +#define CONFIG_USB_ATMEL_CLK_SEL_UPLL #define CONFIG_USB_OHCI_NEW #define CONFIG_SYS_USB_OHCI_CPU_INIT #define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI #define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9x5" #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3 #endif -#define CONFIG_USB_ATMEL #define CONFIG_USB_STORAGE #endif |