[U-Boot] [PATCH] icorem6: Fix to find MMC devices

Stefano Babic sbabic at denx.de
Fri Aug 25 15:33:50 UTC 2017


Hi Jagan,

On 25/08/2017 16:50, Jagan Teki wrote:
> From: Jagan Teki <jagan at amarulasolutions.com>
> 
> U-Boot proper is using DM_MMC so, enable CONFIG_BLK otherwise
> find_mmc_device failed to detect MMC device.
> 
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
>  configs/imx6qdl_icore_mmc_defconfig | 1 -
>  configs/imx6qdl_icore_rqs_defconfig | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig
> index ec39d09..9d61c48 100644
> --- a/configs/imx6qdl_icore_mmc_defconfig
> +++ b/configs/imx6qdl_icore_mmc_defconfig
> @@ -36,7 +36,6 @@ CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_CMD_FAT=y
>  CONFIG_CMD_FS_GENERIC=y
>  CONFIG_OF_LIST="imx6q-icore imx6dl-icore"
> -# CONFIG_BLK is not set

OT: it is quite strange that removing a "commented" line we change the
behaviour, but that is in this case !

>  CONFIG_SYS_I2C_MXC=y
>  CONFIG_PHYLIB=y
>  CONFIG_PHY_SMSC=y
> diff --git a/configs/imx6qdl_icore_rqs_defconfig b/configs/imx6qdl_icore_rqs_defconfig
> index ba3ac1b..319a88d 100644
> --- a/configs/imx6qdl_icore_rqs_defconfig
> +++ b/configs/imx6qdl_icore_rqs_defconfig
> @@ -34,7 +34,6 @@ CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_CMD_FAT=y
>  CONFIG_CMD_FS_GENERIC=y
>  CONFIG_OF_LIST="imx6q-icore-rqs imx6dl-icore-rqs"
> -# CONFIG_BLK is not set
>  CONFIG_SYS_I2C_MXC=y
>  CONFIG_PHYLIB=y
>  CONFIG_PHY_MICREL=y
> 

Reviewed-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list