summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx7ulp
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-05-09 08:33:55 +0000
committerStefano Babic <sbabic@denx.de>2019-06-11 10:43:00 +0200
commit16529ff255a37df29133ebffc62e59793cbf6d86 (patch)
tree9fc2750a10cb7114c7d9c0b643870c19bafd9c5a /arch/arm/include/asm/arch-mx7ulp
parent75eba1832103e85c7e79c7f71b4deaaadcd6bcef (diff)
downloadu-boot-16529ff255a37df29133ebffc62e59793cbf6d86.tar.gz
imx: define ARCH_MXC for i.MX8/8M/7ULP
Without this definition, fsl_esdhc will access reserved registers on i.MX chips, so define ARCH_MXC to fix it. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx7ulp')
-rw-r--r--arch/arm/include/asm/arch-mx7ulp/imx-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7ulp/imx-regs.h b/arch/arm/include/asm/arch-mx7ulp/imx-regs.h
index bf9f39aca2..63b02de087 100644
--- a/arch/arm/include/asm/arch-mx7ulp/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx7ulp/imx-regs.h
@@ -8,6 +8,8 @@
#include <linux/sizes.h>
+#define ARCH_MXC
+
#define CAAM_SEC_SRAM_BASE (0x26000000)
#define CAAM_SEC_SRAM_SIZE (SZ_32K)
#define CAAM_SEC_SRAM_END (CAAM_SEC_SRAM_BASE + CAAM_SEC_SRAM_SIZE - 1)