diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:23:02 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:29 -0600 |
commit | aacef256013b40d0a92c9f574e9702034d7618b4 (patch) | |
tree | d312ab211d82f1cd4c912b4cb1d8964ae3a7ed14 | |
parent | 7caced5aae9f1e573effa65c799212017b2124b5 (diff) | |
download | u-boot-aacef256013b40d0a92c9f574e9702034d7618b4.tar.gz |
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>
-rw-r--r-- | configs/sandbox_defconfig | 4 | ||||
-rw-r--r-- | include/configs/sandbox.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 93bcf46e76..6ce1f0a804 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -12,3 +12,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 diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index c49a847703..8bbd40b6db 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -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 @@ -199,5 +200,6 @@ #define CONFIG_TPM_TIS_SANDBOX #define CONFIG_CMD_LZMADEC +#define CONFIG_CMD_USB #endif |