diff mbox series

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

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

Commit Message

Rui Miguel Silva June 28, 2022, 5:42 p.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(+)

Comments

Marek Vasut June 28, 2022, 7:05 p.m. UTC | #1
On 6/28/22 19:42, Rui Miguel Silva wrote:
> 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.

This one does not apply to u-boot/master , do you have some other patch 
somewhere ? I applied the first two to usb/next in the meantime.
Rui Miguel Silva June 28, 2022, 8:29 p.m. UTC | #2
Hi Marek,
On Tue, Jun 28, 2022 at 09:05:43PM +0200, Marek Vasut wrote:
> On 6/28/22 19:42, Rui Miguel Silva wrote:
> > 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.
> 
> This one does not apply to u-boot/master , do you have some other patch
> somewhere ? I applied the first two to usb/next in the meantime.

This applies to u-boot/next. Where Tom already applied the corstone1000
platform support.

Cheers,
   Rui
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