]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: MMC U-Boot image load from raw partition
authorPaul Kocialkowski <contact@paulk.fr>
Sat, 8 Nov 2014 22:14:56 +0000 (23:14 +0100)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:06 +0000 (09:35 -0500)
commitb97300b62f2702bf1c02179a52c9027c8110331a
tree061a383f3b236506318761cd20e092e3a714543a
parente2ccdf89a0196b40b445700670777ebee231756d
spl: MMC U-Boot image load from raw partition

Raw images of U-Boot can be stored inside MMC partitions, so it makes sense to
read the partition table, looking for a partition number instead of using
a fixed sector address.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@ti.com>
[trini: Only add mmc_load_image_raw_partition() when
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to avoid warning, add missing
conversion in spl_mmc_load_image()]
Signed-off-by: Tom Rini <trini@ti.com>
README
common/spl/spl_mmc.c