Patchwork [U-Boot,v3,5/5] x86: Enable USB features for coreboot

login
register
mail settings
Submitter Simon Glass
Date March 7, 2013, 12:08 a.m.
Message ID <1362614916-26382-6-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/225684/
State Accepted, archived
Delegated to: Marek Vasut
Headers show

Comments

Simon Glass - March 7, 2013, 12:08 a.m.
Enable PCI EHCI, storage, keyboard and Ethernet for USB.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v3: None
Changes in v2: None

 include/configs/coreboot.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Patch

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index c7f36ff..ebc165f 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -267,6 +267,23 @@ 
  */
 #define CONFIG_PCI
 
+/*-----------------------------------------------------------------------
+ * USB configuration
+ */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_PCI
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS     12
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        2
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_KEYBOARD
+#define CONFIG_SYS_USB_EVENT_POLL
+
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_SMSC95XX
+
+#define CONFIG_CMD_USB
+
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	CONFIG_STD_DEVICES_SETTINGS