]> git.karo-electronics.de Git - karo-tx-uboot.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>
Tue, 12 Jul 2016 15:58:47 +0000 (17:58 +0200)
commitc1ebf54868359005c32944c1473668d5fcaca158
tree8ee5bd56bdb5efb9c5a1f59040799922887613e1
parent19ce924ff914f315dc2fdf79f357825c513aed6e
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