From: Simon Glass Date: Wed, 25 Mar 2015 18:23:02 +0000 (-0600) Subject: dm: usb: sandbox: Enable USB X-Git-Tag: KARO-TX6-2015-09-18~2637 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=6edcc1f9f7ea4bc711402624908f4f8a86724e1f;p=karo-tx-uboot.git dm: usb: sandbox: Enable USB Enable USB emulation and associated features so that USB can be used in sandbox. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut --- diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index c943f1c659..85d03e72ef 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -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 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