summaryrefslogtreecommitdiff
path: root/include/configs/at91sam9n12ek.h
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-10-21 16:13:59 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-11-04 20:32:35 +0100
commitd9bef0ad2daa2f6f0b635be12518da755ddcbdc1 (patch)
tree4b19de31dd7964da2c8b9328e7e7892a814a94ae /include/configs/at91sam9n12ek.h
parent32e4f6bf2e35e99e1742c005e1ede4e0cf5f066c (diff)
downloadu-boot-imx-d9bef0ad2daa2f6f0b635be12518da755ddcbdc1.zip
u-boot-imx-d9bef0ad2daa2f6f0b635be12518da755ddcbdc1.tar.gz
u-boot-imx-d9bef0ad2daa2f6f0b635be12518da755ddcbdc1.tar.bz2
arm: atmel: at91sam9n12ek: add usb host support
Add usb host support for at91sam9n12ek board. 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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index 28a7925..cc79f8b 100644
--- a/include/configs/at91sam9n12ek.h
+++ b/include/configs/at91sam9n12ek.h
@@ -83,6 +83,7 @@
#define CONFIG_CMD_SF
#define CONFIG_CMD_MMC
#define CONFIG_CMD_FAT
+#define CONFIG_CMD_USB
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_SDRAM_BASE 0x20000000
@@ -163,6 +164,17 @@
#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE
#define CONFIG_SYS_MEMTEST_END 0x26e00000
+/* USB host */
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_ATMEL
+#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 "at91sam9n12"
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
+#define CONFIG_USB_STORAGE
+#endif
+
#ifdef CONFIG_SYS_USE_SPIFLASH
/* bootstrap + u-boot + env + linux in dataflash on CS0 */