[U-Boot] [PATCH] eb_cpux9k2: add USB host support to board

Jens Scharsig
2011-04-22T13:24:54Z

* add USB host support to eb_cpux9k2 board

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
---
include/configs/eb_cpux9k2.h | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h
index 754fc8b..9d99f65 100644
--- a/include/configs/eb_cpux9k2.h
+++ b/include/configs/eb_cpux9k2.h
@@ -49,7 +49,6 @@
#define CONFIG_SYS_U_BOOT_BASE PHYS_FLASH_1
#define CONFIG_SYS_U_BOOT_SIZE 0x60000 /* 384 KBytes */

-
#define CONFIG_BOOT_RETRY_TIME 30
#define CONFIG_CMDLINE_EDITING

@@ -137,6 +136,8 @@
#define CONFIG_CMD_PING
#define CONFIG_I2C_CMD_NO_FLAT
#define CONFIG_I2C_CMD_TREE
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT

#define CONFIG_SYS_LONGHELP

@@ -168,6 +169,19 @@
* Hardware drivers
*/

+#define CONFIG_USB_ATMEL
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_USB_STORAGE
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_EFI_PARTITION
+
+#define CONFIG_AT91C_PQFP_UHPBUG
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
+#define CONFIG_SYS_USB_OHCI_CPU_INIT
+#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00300000
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91rm9200"
+
/*
* UART/CONSOLE
*/
--
1.7.3.4