]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
dm: usb: sandbox: Enable USB
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:23:02 +0000 (12:23 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:49:00 +0000 (21:49 +0200)
Enable USB emulation and associated features so that USB can be used in
sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
configs/sandbox_defconfig
include/configs/sandbox.h

index c943f1c65922e0e33cab5c1e6e6b49a2d24086ab..85d03e72efdd8001b3931305554fb8e3f7edad46 100644 (file)
@@ -14,3 +14,7 @@ CONFIG_CMD_CROS_EC=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_PCI_SANDBOX=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EMUL=y
+CONFIG_USB_STORAGE=y
index c49a847703f917f64c5f281ed5f7b08988971e98..8bbd40b6dba52b7fc78f719ee384ee3472dc0570 100644 (file)
@@ -60,6 +60,7 @@
 #define CONFIG_CMD_GPT
 #define CONFIG_PARTITION_UUIDS
 #define CONFIG_EFI_PARTITION
+#define CONFIG_DOS_PARTITION
 
 /*
  * Size of malloc() pool, before and after relocation
 #define CONFIG_TPM_TIS_SANDBOX
 
 #define CONFIG_CMD_LZMADEC
+#define CONFIG_CMD_USB
 
 #endif