blob: c4654557c06da853ad2abd68ff90be8b7d1bae55 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 5031fea320bb4ccc1ce7470193d8f4402ae819c9 Mon Sep 17 00:00:00 2001
Brad Bishopbec4ebc2022-08-03 09:55:16 -04002From: Rui Miguel Silva <rui.silva@linaro.org>
3Date: Thu, 3 Mar 2022 16:52:02 +0000
Patrick Williams92b42cb2022-09-03 06:53:57 -05004Subject: [PATCH 05/24] corstone1000: enable isp1763 usb controller
Brad Bishopbec4ebc2022-08-03 09:55:16 -04005
6MPS3 board have a ISP1763 usb controller, add the
7correspondent mmio area and enable it to be used for mass
8storage access for example.
9
10Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
11---
12 configs/corstone1000_defconfig | 1 +
13 include/configs/corstone1000.h | 6 ++++++
14 2 files changed, 7 insertions(+)
15
16diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig
17index 02f931b0d469..e573fe6fe6a2 100644
18--- a/configs/corstone1000_defconfig
19+++ b/configs/corstone1000_defconfig
20@@ -42,6 +42,7 @@ CONFIG_REGMAP=y
21 CONFIG_DM_SERIAL=y
22 CONFIG_USB=y
23 CONFIG_DM_USB=y
24+CONFIG_USB_ISP1760=y
25 CONFIG_USB_STORAGE=y
26 CONFIG_EFI_MM_COMM_TEE=y
27 # CONFIG_OPTEE is not set
28diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h
29index cf166f107efd..8ba0effb0ab2 100644
30--- a/include/configs/corstone1000.h
31+++ b/include/configs/corstone1000.h
32@@ -55,7 +55,13 @@
33 #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
34 #define CONFIG_SYS_MAXARGS 64 /* max command args */
35
36+#define BOOT_TARGET_DEVICES(func) \
37+ func(USB, usb, 0)
38+
39+#include <config_distro_bootcmd.h>
40+
41 #define CONFIG_EXTRA_ENV_SETTINGS \
42+ BOOTENV \
43 "usb_pgood_delay=250\0" \
44 "boot_bank_flag=0x08002000\0" \
45 "kernel_addr_bank_0=0x083EE000\0" \
46--
Patrick Williams92b42cb2022-09-03 06:53:57 -0500472.37.1
Brad Bishopbec4ebc2022-08-03 09:55:16 -040048