[PATCH v2 08/10] ARM: mach-rockchip: rk3588: add gadget device to the boot order

Eugen Hristev eugen.hristev at collabora.com
Tue Aug 1 09:28:09 CEST 2023


In case SPL was booted from USB, add the gadget as the boot device
for the 'same-as-spl' boot order next device.

Signed-off-by: Eugen Hristev <eugen.hristev at collabora.com>
---
 arch/arm/mach-rockchip/rk3588/rk3588.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-rockchip/rk3588/rk3588.c b/arch/arm/mach-rockchip/rk3588/rk3588.c
index b1f535fad505..c95268e18801 100644
--- a/arch/arm/mach-rockchip/rk3588/rk3588.c
+++ b/arch/arm/mach-rockchip/rk3588/rk3588.c
@@ -42,6 +42,7 @@ const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
 	[BROM_BOOTSOURCE_SPINOR] = "/spi at fe2b0000/flash at 0",
 	[BROM_BOOTSOURCE_SD] = "/mmc at fe2c0000",
 	[BROM_BOOTSOURCE_SPINOR_RK3588] = "/spi at fe2b0000/flash at 0",
+	[BROM_BOOTSOURCE_USB] = "/usbdrd3_0/usb at fc000000",
 };
 
 static struct mm_region rk3588_mem_map[] = {
-- 
2.34.1



More information about the U-Boot mailing list