ARM: at91: add code for sama5 boot source detection
SAMA5 BootROM passes information about the boot source in the r4
register. Add functions to parse these. To make use of this, entry point
must back up the r4 register, because otherwise it's clobbered by local
variable use.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 76b7172 commit f322224716c394c9825a553b16b25db243e8d868
@Ahmad Fatoum Ahmad Fatoum authored on 1 Jul 2020
Sascha Hauer committed on 11 Jul 2020
Showing 1 changed file
View
arch/arm/mach-at91/include/mach/sama5_bootsource.h 0 → 100644