commit | a0a5b2115312a66001d76e59f2e35b1a02b7ac67 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jan 10 01:47:31 2020 +0000 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Sun Jan 26 19:09:34 2020 +0530 |
tree | 4fd3fdd0b8db3e480dee2eeabaa76d39414eca72 | |
parent | 95de4bcb9302fd2ec6d09e1684ac5e778659225d [diff] |
sunxi: SPL: Factor out sunxi_get_boot_source() The Boot ROM write some boot source ID (SD card, eMMC, SPI, ...) into a certain location in SRAM, so the SPL can easily determine where to load U-Boot proper from. Factor out reading this value, as it will come in handy again shortly. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com>