]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: Make it possible to define per board boot_targets
authorAndy Yan <andyshrk@163.com>
Mon, 4 Nov 2024 12:22:59 +0000 (20:22 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 11 Nov 2024 07:14:14 +0000 (15:14 +0800)
Some board may want to have a different boot priority(a laptop
may want to usb has the highest boot priority for third-part
os installation). So let the board can define it's own
boot_targets.

Signed-off-by: Andy Yan <andyshrk@163.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rockchip-common.h

index 9b8ab3cdf20747740ca78a1648798d496175a648..d5550a46575aedb597821c5fb01c01a05b1d0769 100644 (file)
@@ -13,7 +13,9 @@
 
 #ifndef CONFIG_XPL_BUILD
 
+#ifndef BOOT_TARGETS
 #define BOOT_TARGETS   "mmc1 mmc0 nvme scsi usb pxe dhcp spi"
+#endif
 
 #ifdef CONFIG_ARM64
 #define ROOT_UUID "B921B045-1DF0-41C3-AF44-4C6F280D3FAE;\0"