summaryrefslogtreecommitdiff
path: root/include/configs/at91sam9n12ek.h
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-10-21 16:14:00 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-11-04 20:32:37 +0100
commitdcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb (patch)
tree20e17f4bd5cb7432af8edc03e166bd2e1ae448b2 /include/configs/at91sam9n12ek.h
parentd9bef0ad2daa2f6f0b635be12518da755ddcbdc1 (diff)
downloadu-boot-imx-dcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb.zip
u-boot-imx-dcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb.tar.gz
u-boot-imx-dcd2f1a0d2875a1386535e2e0db9bfbd57a8fadb.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index cc79f8b..4cdaed1 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