[PATCH u-boot v2019.04-aspeed-openbmc 02/11] ast2600: Specify boot order

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Wed Apr 14 21:17:19 AEST 2021



On 4/13/2021 5:07 AM, Joel Stanley wrote:
> Try to boot from the strapped device, but fall back to the UART.
> 
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Reviewed-by: Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
> ---
>   arch/arm/mach-aspeed/ast2600/spl.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/mach-aspeed/ast2600/spl.c b/arch/arm/mach-aspeed/ast2600/spl.c
> index 54f89b0e8431..d794421b4070 100644
> --- a/arch/arm/mach-aspeed/ast2600/spl.c
> +++ b/arch/arm/mach-aspeed/ast2600/spl.c
> @@ -51,6 +51,12 @@ u32 spl_boot_device(void)
>   	return BOOT_DEVICE_NONE;
>   }
> 
> +void board_boot_order(u32 *spl_boot_list)
> +{
> +	spl_boot_list[0] = spl_boot_device();
> +	spl_boot_list[1] = ASPEED_BOOT_DEVICE_UART;
> +}
> +
>   #ifdef CONFIG_SPL_OS_BOOT
>   int spl_start_uboot(void)
>   {
> 

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the openbmc mailing list