diff mbox series

[v5,3/3] corstone1000: enable isp1763 usb controller and mmc

Message ID 20220629100616.417550-4-rui.silva@linaro.org
State New
Headers show
Series usb: add isp1760 hcd support | expand

Commit Message

Rui Miguel Silva June 29, 2022, 10:06 a.m. UTC
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>
---
 configs/corstone1000_defconfig | 3 +++
 include/configs/corstone1000.h | 6 ++++++
 2 files changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig
index 49a651aba238..dcf0a59a088c 100644
--- a/configs/corstone1000_defconfig
+++ b/configs/corstone1000_defconfig
@@ -27,6 +27,8 @@  CONFIG_CMD_BOOTZ=y
 # 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
@@ -49,4 +51,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 38d7fe8d0d42..8e0230c135e3 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