* [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP
2019-05-09 8:33 [U-Boot] [PATCH 1/2] imx: drop imx-regs.h Peng Fan
@ 2019-05-09 8:33 ` Peng Fan
2019-05-09 11:05 ` Fabio Estevam
0 siblings, 1 reply; 3+ messages in thread
From: Peng Fan @ 2019-05-09 8:33 UTC (permalink / raw)
To: u-boot
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>
---
CI: https://travis-ci.org/MrVan/u-boot/builds/530082356
arch/arm/include/asm/arch-imx8/imx-regs.h | 2 ++
arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 ++
arch/arm/include/asm/arch-mx7ulp/imx-regs.h | 2 ++
3 files changed, 6 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx8/imx-regs.h b/arch/arm/include/asm/arch-imx8/imx-regs.h
index af0fb5154b..6333ff4686 100644
--- a/arch/arm/include/asm/arch-imx8/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx8/imx-regs.h
@@ -6,6 +6,8 @@
#ifndef __ASM_ARCH_IMX8_REGS_H__
#define __ASM_ARCH_IMX8_REGS_H__
+#define ARCH_MXC
+
#define LPUART_BASE 0x5A060000
#define GPT1_BASE_ADDR 0x5D140000
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index 3facd5450c..68666a535b 100644
--- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
@@ -6,6 +6,8 @@
#ifndef __ASM_ARCH_IMX8M_REGS_H__
#define __ASM_ARCH_IMX8M_REGS_H__
+#define ARCH_MXC
+
#include <asm/mach-imx/regs-lcdif.h>
#define ROM_VERSION_A0 0x800
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)
--
2.16.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP
2019-05-09 8:33 ` [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP Peng Fan
@ 2019-05-09 11:05 ` Fabio Estevam
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-05-09 11:05 UTC (permalink / raw)
To: u-boot
On Thu, May 9, 2019 at 5:33 AM Peng Fan <peng.fan@nxp.com> wrote:
>
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP
@ 2019-06-11 8:44 sbabic at denx.de
0 siblings, 0 replies; 3+ messages in thread
From: sbabic at denx.de @ 2019-06-11 8:44 UTC (permalink / raw)
To: u-boot
> 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>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-11 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-11 8:44 [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP sbabic at denx.de
-- strict thread matches above, loose matches on Subject: below --
2019-05-09 8:33 [U-Boot] [PATCH 1/2] imx: drop imx-regs.h Peng Fan
2019-05-09 8:33 ` [U-Boot] [PATCH 2/2] imx: define ARCH_MXC for i.MX8/8M/7ULP Peng Fan
2019-05-09 11:05 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox