[PATCH v6 2/3] rockchip: Make it possible to define per board boot_targets

Kever Yang kever.yang at rock-chips.com
Fri Nov 8 04:41:25 CET 2024


On 2024/11/4 20:22, Andy Yan wrote:
> 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 at 163.com>

Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>
> (no changes since v1)
>
>   include/configs/rockchip-common.h | 2 ++
>   1 file changed, 2 insertions(+)
>
> 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"


More information about the U-Boot mailing list