diff options
author | Trent Piepho <tpiepho@kymetacorp.com> | 2015-12-10 21:51:39 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-12-14 11:32:30 +0100 |
commit | c44e12f0bde314f33f45bab31b1f7c69157d89b4 (patch) | |
tree | 538a02cbe5f4768e3b643b2b1991f0d09dc42732 /common | |
parent | a9e7e68279de3aec38b038211a15a80cfc612c4e (diff) | |
download | barebox-c44e12f0bde314f33f45bab31b1f7c69157d89b4.tar.gz barebox-c44e12f0bde314f33f45bab31b1f7c69157d89b4.tar.xz |
socfpga: Allow setting partition xloader boots from for mmc
The xloader boots the 2nd stage barebox from socfpga_barebox_part when
using NOR. But when using MMC it boots from a hardcoded "disk0.1".
Add the mmc device name to the partition description and use it for
mmc booting.
Add an extern declaration of socfpga_barebox_part to the socfpga
header so that a board can change it to use a different partition.
Initialize socfpga_barebox_part to the default value instead of NULL to
avoid the NULL check later.
Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions