diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2022-06-29 11:06:16 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2022-07-12 21:59:54 +0200 |
commit | 018cdfc3d01618d9ec6547d4602c12d3ae6e7c2c (patch) | |
tree | b79b306691bb735a0f3539b72ddb603b0950a202 | |
parent | 88861a2c2c4f4f00008c14911e05f645ae5dd915 (diff) |
corstone1000: enable isp1763 usb controller and mmc
MPS3 board have a ISP1763 usb controller, enable it to be used
for mass storage access for example. Enable the usb command
also and for the FVP support for mass storage enable the mmc
command.
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
-rw-r--r-- | configs/corstone1000_defconfig | 3 | ||||
-rw-r--r-- | include/configs/corstone1000.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index ba5cf0308f3..b928fc34b32 100644 --- a/configs/corstone1000_defconfig +++ b/configs/corstone1000_defconfig @@ -28,6 +28,8 @@ CONFIG_SYS_BOOTM_LEN=0x800000 # CONFIG_CMD_XIMG is not set CONFIG_CMD_LOADM=y # CONFIG_CMD_LOADS is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y @@ -50,4 +52,5 @@ CONFIG_DM_RTC=y CONFIG_RTC_EMULATION=y CONFIG_DM_SERIAL=y CONFIG_USB=y +CONFIG_USB_ISP1760=y CONFIG_ERRNO_STR=y diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h index 38d7fe8d0d4..8e0230c135e 100644 --- a/include/configs/corstone1000.h +++ b/include/configs/corstone1000.h @@ -24,4 +24,10 @@ #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define BOOT_TARGET_DEVICES(func) \ + func(USB, usb, 0) + +#include <config_distro_bootcmd.h> + + #endif |