]> git.ipfire.org Git - people/ms/u-boot.git/commit
spl: spl_mmc: MMC boot mode provisions checks
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 8 Jun 2015 21:05:09 +0000 (23:05 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jun 2015 20:11:42 +0000 (16:11 -0400)
commit3ae8f4c8ae7b745ff3f881dce3d22f636528fc5f
treebea7742b8cc4fe70219f6fc2171a339ca612b6c2
parent1ec264695f746dd033a14762344aefff0aa3e3b5
spl: spl_mmc: MMC boot mode provisions checks

This allows using only one of either raw or fs mode for SPL mmc boot, without
the need to have provisions for the other. In particular, a device may have
U-Boot installed on a file system on the mmc, without ever needing to read
U-Boot from raw memory. Thus, there is no reason to provide a sector or
partition for raw mode. This allows this behaviour and still provides a robust
fallback mechanism in case provisions for both modes are defined.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
common/spl/spl_mmc.c