at91rm9200ek: enbable USB support
authorAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 18 Oct 2010 20:58:31 +0000 (22:58 +0200)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 19 Oct 2010 13:12:04 +0000 (15:12 +0200)
This patch enables USB for at91rm9200ek board.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
include/configs/at91rm9200ek.h

index 6b2dd63..b386057 100644 (file)
 #define CONFIG_CMD_FAT
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_PING
+#define CONFIG_CMD_USB
 #undef CONFIG_CMD_FPGA
 
 /*
 #define CONFIG_SYS_FLASH_PROTECTION
 
 /*
+ * USB Config
+ */
+#define CONFIG_USB_ATMEL                       1
+#define CONFIG_USB_OHCI_NEW                    1
+#define CONFIG_USB_KEYBOARD                    1
+#define CONFIG_USB_STORAGE                     1
+#define CONFIG_DOS_PARTITION                   1
+
+#define CONFIG_SYS_USB_OHCI_CPU_INIT           1
+#define CONFIG_SYS_USB_OHCI_REGS_BASE          AT91_USB_HOST_BASE
+#define CONFIG_SYS_USB_OHCI_SLOT_NAME          "at91rm9200"
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     15
+
+/*
  * Environment Settings
  */
 #define CONFIG_ENV_IS_IN_FLASH