diff options
| author | Fabio Estevam <[email protected]> | 2017-11-23 09:18:53 -0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2017-11-27 10:34:31 +0100 |
| commit | 23ecca2cd829485c305d9a49c25508d74e041216 (patch) | |
| tree | 9f5800d6a3182ccfd0a6464b739bf65c67c47bf9 | |
| parent | 4684aa798877b8b5ef57cd036724b64fe5a3688e (diff) | |
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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
| -rw-r--r-- | arch/arm/include/asm/arch-mx6/imx-regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 624ccecfd60..7736b6a8ac0 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 : \ |
