]> git.dujemihanovic.xyz Git - u-boot.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)
commit12770d0df0e841cfa1bdbde7636aad3d531bf66b
tree363b6e9aa64f183b669ea0e30a2178aab4d3182e
parent442a69c143759648f571e3784c7b3bc5be7ed595
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