summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Yan <andyshrk@163.com>2024-11-04 20:22:59 +0800
committerKever Yang <kever.yang@rock-chips.com>2024-11-11 15:14:14 +0800
commit3126a63c8d7e242d27b6ac432e8af16e5cdb00aa (patch)
treeb3d3d92e07a341198d5ed96e66e5d46f289f2884
parent82f9074c43dafac71c7278f6d9c90eaf17e2b299 (diff)
rockchip: Make it possible to define per board boot_targets
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>
-rw-r--r--include/configs/rockchip-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index 9b8ab3cdf20..d5550a46575 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -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"