[PATCH 3/6] arch/arm/mach-rockchip/rk3399/rk3399.c: Add gadget device to boot devices

Arnaud Patard arnaud.patard at collabora.com
Mon Feb 10 16:30:02 CET 2025


Define the device node used when booting over usb, allowing to
use 'same-as-spl' boot entry.

Signed-off-by: Arnaud Patard <arnaud.patard at collabora.com>
---
 arch/arm/mach-rockchip/rk3399/rk3399.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c
index 1ce43c6f0d4..681eecb1edd 100644
--- a/arch/arm/mach-rockchip/rk3399/rk3399.c
+++ b/arch/arm/mach-rockchip/rk3399/rk3399.c
@@ -27,6 +27,7 @@ const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
 	[BROM_BOOTSOURCE_EMMC] = "/mmc at fe330000",
 	[BROM_BOOTSOURCE_SPINOR] = "/spi at ff1d0000/flash at 0",
 	[BROM_BOOTSOURCE_SD] = "/mmc at fe320000",
+	[BROM_BOOTSOURCE_USB] = "/usb at fe800000/usb at fe800000",
 };
 
 static struct mm_region rk3399_mem_map[] = {
-- 
2.39.5



More information about the U-Boot mailing list