[PATCH] include: configs: move USB first in the boot order for rk3399

Dan Johansen strit at manjaro.org
Thu Jan 27 09:39:22 CET 2022


In Manjaro ARM we have used this patch for years now and it was
requested that we upstream it.

This will make all rk3399 based boards try USB boot before
SD or eMMC. Can be quite handy on some devices, where the
other devices are not easy to get to.

Signed-off-by: Dan Johansen <strit at manjaro.org>
---
 include/configs/rockchip-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index ba7061a287..5dc92373b2 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -55,9 +55,9 @@
 
 #ifdef CONFIG_ROCKCHIP_RK3399
 #define BOOT_TARGET_DEVICES(func) \
+	BOOT_TARGET_USB(func) \
 	BOOT_TARGET_MMC(func) \
 	BOOT_TARGET_NVME(func) \
-	BOOT_TARGET_USB(func) \
 	BOOT_TARGET_PXE(func) \
 	BOOT_TARGET_DHCP(func) \
 	BOOT_TARGET_SF(func)
-- 
2.34.1



More information about the U-Boot mailing list