]> code.ossystems Code Review - bsp/u-boot.git/commit
imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS
authorPetr Kulhavy <brain@jikos.cz>
Sun, 12 Jun 2016 11:18:32 +0000 (13:18 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 18 Jun 2016 08:42:34 +0000 (10:42 +0200)
commit6424968e39f272aadacf3a12bd683c91289702cb
treea571834324e2732ec069d8b34d205e315ea23ce1
parent67ef2c133f099d3d719058eb73aeec8f1574655c
imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS

spl_boot_mode() returned MMCSD_MODE_RAW on MMC if CONFIG_SPL_EXT_SUPPORT
was configured. EXTFS is the default filesystem selected in imx6_spl.h
and the function should return MMCSD_MODE_FS instead.

Fix this and return MMCSD_MODE_FS instead in such cases.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
CC: Stefano Babic <sbabic@denx.de>
CC: Tim Harvey <tharvey@gateworks.com>
CC: Fabio Estevam <Fabio.Estevam@freescale.com>
arch/arm/imx-common/spl.c