]> git.baikalelectronics.ru Git - uboot.git/commit
arm: K3: am654: Add support for boot device detection
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 27 Aug 2018 10:27:11 +0000 (15:57 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 12:32:55 +0000 (08:32 -0400)
commitf27cf3036c4fb571cab0b7ba0f4111d47495f783
tree93fd04c7123a3c2830810efbfd4d3ae787448159
parente10ecc30b391b590a4f4467795033243d4e5233b
arm: K3: am654: Add support for boot device detection

AM654 allows for booting from primary or backup boot media.
Both media can be chosen individually based on switch settings.
ROM looks for a valid image in primary boot media, if not found
then looks in backup boot media. In order to pass this boot media
information to boot loader, ROM stores a value at a particular
address. Add support for reading this information and determining
the boot media correctly.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/spl.h
arch/arm/mach-k3/Kconfig
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/include/mach/am6_hardware.h [new file with mode: 0644]
arch/arm/mach-k3/include/mach/am6_spl.h [new file with mode: 0644]
arch/arm/mach-k3/include/mach/hardware.h [new file with mode: 0644]
arch/arm/mach-k3/include/mach/spl.h [new file with mode: 0644]