summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/st_smi.c
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-11-08 17:11:48 +0200
committerTom Rini <trini@konsulko.com>2015-11-18 14:50:02 -0500
commit83cdf6faa677ff8ff39d7852126aad3207fac021 (patch)
tree05496748051e481b728fd3278c7d6bd95652b95a /drivers/mtd/st_smi.c
parentf52b729393c4ec2af22f3a51a193362fc4f55e4f (diff)
downloadu-boot-83cdf6faa677ff8ff39d7852126aad3207fac021.tar.gz
u-boot-83cdf6faa677ff8ff39d7852126aad3207fac021.tar.xz
u-boot-83cdf6faa677ff8ff39d7852126aad3207fac021.zip
spl: mmc: get rid of emmc boot code duplication
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@compulab.co.il> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Paul Kocialkowski <contact@paulk.fr> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/st_smi.c')
0 files changed, 0 insertions, 0 deletions