]> git.baikalelectronics.ru Git - uboot.git/commit
ast2600: spl: Add boot mode detection
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>
Wed, 1 Jun 2022 08:43:52 +0000 (16:43 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 01:30:05 +0000 (21:30 -0400)
commitc3dd1270207d1d1469990f9b09dbfbbec2930218
tree363b6e9aa64f183b669ea0e30a2178aab4d3182e
parent78502352215e60a17158afdfe5a6ac4cba84d180
ast2600: spl: Add boot mode detection

AST2600 supports boot from SPI(mmap), eMMC, and UART.
This patch adds the boot mode detection and return the
corresponding boot device type.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
arch/arm/include/asm/arch-aspeed/scu_ast2600.h
arch/arm/mach-aspeed/ast2600/spl.c