arm: socfpga: spl: Add support for selecting boot device from BSEL
authorMarek Vasut <marex@denx.de>
Tue, 21 Jul 2015 14:11:16 +0000 (16:11 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:08 +0000 (14:14 +0200)
commit066ad14a22b10b444ed9e89401f6d905164774b0
treed159ab2189f235367e97137ca52130ffb1036df7
parent346d6f5667d3ab6e0a7b550d9789d3365a12478a
arm: socfpga: spl: Add support for selecting boot device from BSEL

Rework spl_boot_device() such that it reads the BSEL settings from
system manager and decides from where to load U-Boot based on this
information.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/spl.c