Skip to content

Commit 018cdfc

Browse files
rmsilvaMarek Vasut
authored andcommitted
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 <[email protected]>
1 parent 88861a2 commit 018cdfc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

configs/corstone1000_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ CONFIG_SYS_BOOTM_LEN=0x800000
2828
# CONFIG_CMD_XIMG is not set
2929
CONFIG_CMD_LOADM=y
3030
# CONFIG_CMD_LOADS is not set
31+
CONFIG_CMD_MMC=y
32+
CONFIG_CMD_USB=y
3133
# CONFIG_CMD_SETEXPR is not set
3234
# CONFIG_CMD_NFS is not set
3335
CONFIG_CMD_CACHE=y
@@ -50,4 +52,5 @@ CONFIG_DM_RTC=y
5052
CONFIG_RTC_EMULATION=y
5153
CONFIG_DM_SERIAL=y
5254
CONFIG_USB=y
55+
CONFIG_USB_ISP1760=y
5356
CONFIG_ERRNO_STR=y

include/configs/corstone1000.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@
2424

2525
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
2626

27+
#define BOOT_TARGET_DEVICES(func) \
28+
func(USB, usb, 0)
29+
30+
#include <config_distro_bootcmd.h>
31+
32+
2733
#endif

0 commit comments

Comments
 (0)