]> git.sur5r.net Git - u-boot/commit
arm: socfpga: improve raw MMC SPL boot
authorSylvain Lesne <lesne@alse-fr.com>
Wed, 1 Jun 2016 09:14:54 +0000 (11:14 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 1 Jun 2016 20:44:14 +0000 (22:44 +0200)
commitd31e9c575f24f4b7f5f382ccae70d7a86bbc379d
tree067b49682e4dcd74aef1ad855ef59dc05fbcda49
parent77cd5368cee8b6a5684877e1bf4d544bf271ef08
arm: socfpga: improve raw MMC SPL boot

Before this patch, when booting from MMC (no filesystem), the SPL
loaded U-Boot from a fixed offset.
It will now load U-Boot from an offset of 256kB (which is 4 times the
padded SPL image) in the third partition.

This behaviour is similar to what the vendor SPL (based on
U-Boot 2013.01) does, and allows to directly 'dd' the
u-boot-with-spl.sfp file to the A2 partition.

Signed-off-by: Sylvain Lesne <lesne@alse-fr.com>
include/configs/socfpga_common.h