From: Rui Miguel Silva Date: Wed, 29 Jun 2022 10:06:16 +0000 (+0100) Subject: corstone1000: enable isp1763 usb controller and mmc X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=018cdfc3d01618d9ec6547d4602c12d3ae6e7c2c;p=u-boot.git 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 --- diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index ba5cf0308f..b928fc34b3 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 38d7fe8d0d..8e0230c135 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 + + #endif