dm: usb: sandbox: Enable USB

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>
This commit is contained in:
Simon Glass
2015-03-25 12:23:02 -06:00
parent 7caced5aae
commit aacef25601
2 changed files with 6 additions and 0 deletions

View File

@@ -12,3 +12,7 @@ CONFIG_CMD_CROS_EC=y
CONFIG_PCI=y CONFIG_PCI=y
CONFIG_DM_PCI=y CONFIG_DM_PCI=y
CONFIG_PCI_SANDBOX=y CONFIG_PCI_SANDBOX=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_USB_EMUL=y
CONFIG_USB_STORAGE=y

View File

@@ -60,6 +60,7 @@
#define CONFIG_CMD_GPT #define CONFIG_CMD_GPT
#define CONFIG_PARTITION_UUIDS #define CONFIG_PARTITION_UUIDS
#define CONFIG_EFI_PARTITION #define CONFIG_EFI_PARTITION
#define CONFIG_DOS_PARTITION
/* /*
* Size of malloc() pool, before and after relocation * Size of malloc() pool, before and after relocation
@@ -199,5 +200,6 @@
#define CONFIG_TPM_TIS_SANDBOX #define CONFIG_TPM_TIS_SANDBOX
#define CONFIG_CMD_LZMADEC #define CONFIG_CMD_LZMADEC
#define CONFIG_CMD_USB
#endif #endif