[U-Boot] [PATCH 1/2] mx6ull: Fix WDOG3 base address

Peng Fan peng.fan at nxp.com
Thu Nov 23 11:23:19 UTC 2017



> -----Original Message-----
> From: Fabio Estevam [mailto:festevam at gmail.com]
> Sent: Thursday, November 23, 2017 7:19 PM
> To: sbabic at denx.de
> Cc: u-boot at lists.denx.de; Ye Li <ye.li at nxp.com>; Peng Fan
> <peng.fan at nxp.com>; Fabio Estevam <fabio.estevam at nxp.com>
> Subject: [PATCH 1/2] mx6ull: Fix WDOG3 base address
> 
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> i.MX6ULL has the same WDOG3 base address as i.MX6UL, so take this into
> account in the base address definition.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  arch/arm/include/asm/arch-mx6/imx-regs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h
> b/arch/arm/include/asm/arch-mx6/imx-regs.h
> index 624ccec..7736b6a 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -367,7 +367,7 @@
>  #include <asm/types.h>
> 
>  /* only for i.MX6SX/UL */
> -#define WDOG3_BASE_ADDR ((is_mx6ul() ?	\
> +#define WDOG3_BASE_ADDR (((is_mx6ul() || is_mx6ull()) ?	\
>  			 MX6UL_WDOG3_BASE_ADDR :
> MX6SX_WDOG3_BASE_ADDR))
>  #define LCDIF1_BASE_ADDR ((is_cpu_type(MXC_CPU_MX6SLL)) ?	\
>  			  MX6SLL_LCDIF_BASE_ADDR :		\

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> --
> 2.7.4



More information about the U-Boot mailing list