commit | 1941be8828ca20512f2185049f20d2e5198bf34a | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Aug 23 10:06:30 2017 +0200 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Tue Oct 03 19:12:06 2017 +0200 |
tree | 91dc451bc6ac96fd4595874b67f11ca626a1b5ff | |
parent | 259fe7a9636927545628c10b637309db9ca83eca [diff] |
arm: sunxi: Move spl_boot_device in a separate function U-Boot itself might need to identify the boot device, for example to be able to tell where to load the kernel from when several options are possible. Move the logic of spl_boot_device to a function that is compiled both for the SPL and the main binary. Tested-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>