commit | ee98d768930b7c8f9dffbfd06e3cec2f2cc146d9 | [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 | 533f2433ffa02eb95d1abeab531c4d36fd5e61b5 [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>