corstone1000: enable isp1763 usb controller and mmc
authorRui Miguel Silva <rui.silva@linaro.org>
Wed, 29 Jun 2022 10:06:16 +0000 (11:06 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 12 Jul 2022 19:59:54 +0000 (21:59 +0200)
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
include/configs/corstone1000.h

index ba5cf03..b928fc3 100644 (file)
@@ -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
index 38d7fe8..8e0230c 100644 (file)
 
 #define CONFIG_SYS_SDRAM_BASE  PHYS_SDRAM_1
 
+#define BOOT_TARGET_DEVICES(func) \
+       func(USB, usb, 0)
+
+#include <config_distro_bootcmd.h>
+
+
 #endif