[U-Boot] [PATCH 2/2] mx6slevk: Remove some DM drivers

Peng Fan peng.fan at nxp.com
Wed Oct 11 00:50:44 UTC 2017


Hi Fabio,

> -----Original Message-----
> From: Fabio Estevam [mailto:fabio.estevam at nxp.com]
> Sent: Wednesday, October 11, 2017 12:44 AM
> To: sbabic at denx.de
> Cc: Peng Fan <peng.fan at nxp.com>; u-boot at lists.denx.de; Fabio Estevam
> <fabio.estevam at nxp.com>
> Subject: [PATCH 2/2] mx6slevk: Remove some DM drivers
> 
> While having DM driver is a good thing, currently this defconfig is completely
> broken in a way that SD cards can not even be detected.
> 
> Remove some of the DM drivers to avoid the regression for now and allow
> booting a kernel stored in the SD card again.
> 
> Re-adding the DM drivers can be revisited later.

When adding DM support, I have tested on my board. What issue do you see?

Thanks,
Peng.

> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
> Applied on top of:
> 
> https://patchwork.ozlabs.org/patch/820477/
> 
> and
> 
> https://patchwork.ozlabs.org/patch/820298/
> 
>  configs/mx6slevk_defconfig | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
> 
> diff --git a/configs/mx6slevk_defconfig b/configs/mx6slevk_defconfig index
> c876c6b..51735ec 100644
> --- a/configs/mx6slevk_defconfig
> +++ b/configs/mx6slevk_defconfig
> @@ -3,7 +3,7 @@ CONFIG_ARCH_MX6=y
>  CONFIG_TARGET_MX6SLEVK=y
>  # CONFIG_CMD_BMODE is not set
>  CONFIG_DEFAULT_DEVICE_TREE="imx6sl-evk"
> -
> CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imx
> image.cfg,MX6SL"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/im
> ximage.cfg,MX6SL,SYS_I2C"
>  CONFIG_BOOTDELAY=3
>  CONFIG_BOARD_EARLY_INIT_F=y
>  CONFIG_HUSH_PARSER=y
> @@ -29,21 +29,12 @@ CONFIG_OF_CONTROL=y
>  CONFIG_ENV_IS_IN_MMC=y
>  CONFIG_DM=y
>  # CONFIG_BLK is not set
> -CONFIG_DM_GPIO=y
> -CONFIG_DM_I2C=y
> -CONFIG_DM_MMC=y
>  CONFIG_CMD_PART=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_STMICRO=y
>  CONFIG_PHYLIB=y
>  CONFIG_PINCTRL=y
>  CONFIG_PINCTRL_IMX6=y
> -CONFIG_DM_PMIC=y
> -CONFIG_DM_PMIC_PFUZE100=y
> -CONFIG_DM_REGULATOR=y
> -CONFIG_DM_REGULATOR_PFUZE100=y
> -CONFIG_DM_REGULATOR_FIXED=y
> -CONFIG_DM_REGULATOR_GPIO=y
>  CONFIG_DM_THERMAL=y
>  CONFIG_USB=y
>  CONFIG_USB_STORAGE=y
> --
> 2.7.4



More information about the U-Boot mailing list