[U-Boot] [PATCH 2/3] fsl-layerscape: spl: fix the macro name of MMC mode

York Sun york.sun at nxp.com
Tue May 17 18:02:37 CEST 2016


On 04/26/2016 06:55 PM, Gong Qianyu wrote:
> There is no MODE_FAT but MODE_FS. Fix it.

Actually this macro existed before being renamed by commit
205b4f33cfe58268df7d433f2da515fe660afd9c. No need to resend the patch. I will
update the command message when merging.

York

> 
> Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/spl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
> index 4c8a9a0..5883c00 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
> @@ -29,7 +29,7 @@ u32 spl_boot_mode(void)
>  	switch (spl_boot_device()) {
>  	case BOOT_DEVICE_MMC1:
>  #ifdef CONFIG_SPL_FAT_SUPPORT
> -		return MMCSD_MODE_FAT;
> +		return MMCSD_MODE_FS;
>  #else
>  		return MMCSD_MODE_RAW;
>  #endif
> 



More information about the U-Boot mailing list