Message ID | 20210413080755.73572-3-joel@jms.id.au |
---|---|
State | New |
Headers | show |
Series | Use HACE to | expand |
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@jms.id.au> Reviewed-by: Klaus Heinrich Kiwi <klaus@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) > { >
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) {
Try to boot from the strapped device, but fall back to the UART. Signed-off-by: Joel Stanley <joel@jms.id.au> --- arch/arm/mach-aspeed/ast2600/spl.c | 6 ++++++ 1 file changed, 6 insertions(+)