[U-Boot] [PATCH V2 07/13] spl: mmc: get rid of emmc boot code duplication

Simon Glass sjg at chromium.org
Thu Oct 29 18:19:34 CET 2015


On 28 October 2015 at 03:23, Nikita Kiryanov <nikita at compulab.co.il> wrote:
> Get rid of emmc boot code duplication in spl_mmc_load_image() using a switch
> case fallthrough into MMCSD_MODE_RAW. Since the #ifdef CONFIG_SUPPORT_EMMC_BOOT
> check is not really necessary, remove it in the process.
>
> No functional changes.
>
> Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Igor Grinberg <grinberg at compulab.co.il>
> Cc: Paul Kocialkowski <contact at paulk.fr>
> Cc: Pantelis Antoniou <panto at antoniou-consulting.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> Changes in V2:
>         - No changes.
>
>  common/spl/spl_mmc.c | 54 ++++++++++++++++++----------------------------------
>  1 file changed, 18 insertions(+), 36 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list