[U-Boot] [PATCH V2 29/32] fsl_esdhc: Update usdhc driver to support i.MX8
Fabio Estevam
festevam at gmail.com
Thu Jul 19 14:01:06 UTC 2018
On Tue, Jul 17, 2018 at 10:35 PM, Peng Fan <peng.fan at nxp.com> wrote:
> From: Ye Li <ye.li at nxp.com>
>
> Add CONFIG_ARCH_IMX8 to use the 64bits support in usdhc driver.
>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> ---
> drivers/mmc/fsl_esdhc.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
> index 4528345c67..785b9e87a6 100644
> --- a/drivers/mmc/fsl_esdhc.c
> +++ b/drivers/mmc/fsl_esdhc.c
> @@ -257,7 +257,7 @@ static int esdhc_setup_data(struct fsl_esdhc_priv *priv, struct mmc *mmc,
> int timeout;
> struct fsl_esdhc *regs = priv->esdhc_regs;
> #if defined(CONFIG_FSL_LAYERSCAPE) || defined(CONFIG_S32V234) || \
> - defined(CONFIG_MX8M)
> + defined(CONFIG_ARCH_IMX8) || defined(CONFIG_MX8M)
I am a bit confused: why do we need the || here?
Doesn't CONFIG_ARCH_IMX8 also relate to MX8M?
More information about the U-Boot
mailing list