Message ID | 1427307788-7496-75-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Simon Glass |
Headers | show |
On 25 March 2015 at 12:23, Simon Glass <sjg@chromium.org> wrote: > Enable USB emulation and associated features so that USB can be used in > sandbox. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > Changes in v2: None > > configs/sandbox_defconfig | 4 ++++ > include/configs/sandbox.h | 2 ++ > 2 files changed, 6 insertions(+) Applied to u-boot-dm/next.
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index e23b959..3f4812c 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -15,3 +15,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 558ea2c..95cfce6 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 @@ -200,5 +201,6 @@ #define CONFIG_TPM_TIS_SANDBOX #define CONFIG_CMD_LZMADEC +#define CONFIG_CMD_USB #endif
Enable USB emulation and associated features so that USB can be used in sandbox. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v2: None configs/sandbox_defconfig | 4 ++++ include/configs/sandbox.h | 2 ++ 2 files changed, 6 insertions(+)