]> git.baikalelectronics.ru Git - uboot.git/commit
armv7R: K3: j721e: Add support for boot device detection
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 13 Jun 2019 04:59:43 +0000 (10:29 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 01:49:26 +0000 (21:49 -0400)
commite2ebf5b326ba3cb8b8d16a52700b901c2563edf6
tree0a43c5295f91baec4dc21d13f29e3a518c1c3fad
parent56d54135a0360872ddf6b3fd78129496bfd8794c
armv7R: K3: j721e: Add support for boot device detection

J721E 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: Faiz Abbas <faiz_abbas@ti.com>
arch/arm/mach-k3/include/mach/hardware.h
arch/arm/mach-k3/include/mach/j721e_hardware.h [new file with mode: 0644]
arch/arm/mach-k3/include/mach/j721e_spl.h [new file with mode: 0644]
arch/arm/mach-k3/include/mach/spl.h
arch/arm/mach-k3/j721e_init.c