]> git.sur5r.net Git - u-boot/commitdiff
mx6ull: Fix WDOG3 base address
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 23 Nov 2017 11:18:53 +0000 (09:18 -0200)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Nov 2017 09:34:31 +0000 (10:34 +0100)
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@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx6/imx-regs.h

index 624ccecfd60383b5f29a18dcc7f158720f857c12..7736b6a8ac0452d110393242ec42b6a2de36ea0d 100644 (file)
 #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 :              \