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>
Showing
- arch/arm/include/asm/spl.h 1 addition, 1 deletionarch/arm/include/asm/spl.h
- arch/arm/mach-k3/Kconfig 7 additions, 0 deletionsarch/arm/mach-k3/Kconfig
- arch/arm/mach-k3/am6_init.c 57 additions, 1 deletionarch/arm/mach-k3/am6_init.c
- arch/arm/mach-k3/include/mach/am6_hardware.h 23 additions, 0 deletionsarch/arm/mach-k3/include/mach/am6_hardware.h
- arch/arm/mach-k3/include/mach/am6_spl.h 36 additions, 0 deletionsarch/arm/mach-k3/include/mach/am6_spl.h
- arch/arm/mach-k3/include/mach/hardware.h 12 additions, 0 deletionsarch/arm/mach-k3/include/mach/hardware.h
- arch/arm/mach-k3/include/mach/spl.h 12 additions, 0 deletionsarch/arm/mach-k3/include/mach/spl.h
Loading
Please register or sign in to comment