From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Sat, 16 Oct 2010 02:41:14 +0200 Subject: [U-Boot] [PATCH 3/3] at91rm9200ek: enbable USB support In-Reply-To: <1287189674-95445-1-git-send-email-andreas.devel@googlemail.com> References: <1287189674-95445-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <1287189674-95445-4-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch enables USB for at91rm9200ek board. Signed-off-by: Andreas Bie?mann --- include/configs/at91rm9200ek.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h index 8e9db92..d1565be 100644 --- a/include/configs/at91rm9200ek.h +++ b/include/configs/at91rm9200ek.h @@ -125,6 +125,7 @@ #define CONFIG_CMD_FAT #define CONFIG_CMD_MII #define CONFIG_CMD_PING +#define CONFIG_CMD_USB #undef CONFIG_CMD_FPGA #include /* needed for port definitions */ @@ -150,6 +151,20 @@ #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 1 -- 1.7.3.1