]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: Define all options for A38x BOOT_FROM_* macros
authorPali Rohár <pali@kernel.org>
Wed, 29 Mar 2023 19:03:33 +0000 (21:03 +0200)
committerStefan Roese <sr@denx.de>
Thu, 30 Mar 2023 05:05:20 +0000 (07:05 +0200)
commit204958bd79eec1882a9ea27d726b7403b358dee7
tree0adf570bc57f08ea95681436d987d3c7cd27f52f
parentd96953973d21ee3bb6660e8d2905e2da0d704402
arm: mvebu: Define all options for A38x BOOT_FROM_* macros

Disassembling A385 BootROM binary reveal how BootROM interprets strapping
pins for Boot Device Mode. All possible options are:

0x00..0x07 -> Parallel NOR
0x08..0x15 -> Parallel NAND
0x16..0x17 -> Parallel NOR
0x18..0x25 -> Parallel NAND
0x26..0x27 -> SPI NAND
0x28..0x29 -> UART xmodem
0x2a..0x2b -> SATA
0x2c..0x2d -> PCI Express
0x2e..0x2f -> Parallel NOR
0x30..0x31 -> SD / eMMC
0x32..0x39 -> SPI NOR
0x3a..0x3c -> Parallel NOR
0x3d..0x3e -> UART debug console
0x3f       -> Invalid

Note that Boot Device Mode Options in A38x Hardware Specifications is
incomplete.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Martin Rowe <martin.p.rowe@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h