Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 1 | From 8717357eff3f4172c74f0b10078c31cdff9bcc41 Mon Sep 17 00:00:00 2001 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 2 | From: Rui Miguel Silva <rui.silva@linaro.org> |
| 3 | Date: Thu, 3 Mar 2022 16:52:02 +0000 |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 4 | Subject: [PATCH 05/26] corstone1000: enable isp1763 usb controller |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 5 | |
| 6 | MPS3 board have a ISP1763 usb controller, add the |
| 7 | correspondent mmio area and enable it to be used for mass |
| 8 | storage access for example. |
| 9 | |
| 10 | Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 11 | Upstream-Status: Accepted [2022.10-rc1] |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 12 | --- |
| 13 | configs/corstone1000_defconfig | 1 + |
| 14 | include/configs/corstone1000.h | 6 ++++++ |
| 15 | 2 files changed, 7 insertions(+) |
| 16 | |
| 17 | diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 18 | index 02f931b0d4..e573fe6fe6 100644 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 19 | --- a/configs/corstone1000_defconfig |
| 20 | +++ b/configs/corstone1000_defconfig |
| 21 | @@ -42,6 +42,7 @@ CONFIG_REGMAP=y |
| 22 | CONFIG_DM_SERIAL=y |
| 23 | CONFIG_USB=y |
| 24 | CONFIG_DM_USB=y |
| 25 | +CONFIG_USB_ISP1760=y |
| 26 | CONFIG_USB_STORAGE=y |
| 27 | CONFIG_EFI_MM_COMM_TEE=y |
| 28 | # CONFIG_OPTEE is not set |
| 29 | diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 30 | index cf166f107e..8ba0effb0a 100644 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 31 | --- a/include/configs/corstone1000.h |
| 32 | +++ b/include/configs/corstone1000.h |
| 33 | @@ -55,7 +55,13 @@ |
| 34 | #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */ |
| 35 | #define CONFIG_SYS_MAXARGS 64 /* max command args */ |
| 36 | |
| 37 | +#define BOOT_TARGET_DEVICES(func) \ |
| 38 | + func(USB, usb, 0) |
| 39 | + |
| 40 | +#include <config_distro_bootcmd.h> |
| 41 | + |
| 42 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 43 | + BOOTENV \ |
| 44 | "usb_pgood_delay=250\0" \ |
| 45 | "boot_bank_flag=0x08002000\0" \ |
| 46 | "kernel_addr_bank_0=0x083EE000\0" \ |
| 47 | -- |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 48 | 2.17.1 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 49 | |