From: Fabio Estevam Date: Thu, 23 Nov 2017 11:18:53 +0000 (-0200) Subject: mx6ull: Fix WDOG3 base address X-Git-Tag: v2018.01-rc1~66^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23ecca2cd829485c305d9a49c25508d74e041216;p=u-boot mx6ull: Fix WDOG3 base address 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 Reviewed-by: Peng Fan Reviewed-by: Stefano Babic --- diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 624ccecfd6..7736b6a8ac 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 /* 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 : \