summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/protonic-imx6
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-02-27 16:16:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-03-06 14:10:41 +0100
commit8d0f5a36f107ce152c94a60a243088855170f637 (patch)
tree1cfa5d18f6f50d851d166cc324aa7596d9085820 /arch/arm/boards/protonic-imx6
parent9dbf98e2260c1a7efd32a68bc7078f96c4384523 (diff)
downloadbarebox-8d0f5a36f107ce152c94a60a243088855170f637.tar.gz
barebox-8d0f5a36f107ce152c94a60a243088855170f637.tar.xz
ARM: i.MX: Move mach header files to include/mach/imx
Currently arch specific headers can be included with #include <mach/xxx.h>. With upcoming multi-arch support this is no longer possible as there won't be a single mach anymore. Move all i.MX specific header files to include/mach/imx/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/protonic-imx6')
-rw-r--r--arch/arm/boards/protonic-imx6/board.c6
-rw-r--r--arch/arm/boards/protonic-imx6/lowlevel.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c
index 2db66189e0..d35d97209b 100644
--- a/arch/arm/boards/protonic-imx6/board.c
+++ b/arch/arm/boards/protonic-imx6/board.c
@@ -13,9 +13,9 @@
#include <globalvar.h>
#include <gpio.h>
#include <i2c/i2c.h>
-#include <mach/bbu.h>
-#include <mach/imx6.h>
-#include <mach/ocotp-fusemap.h>
+#include <mach/imx/bbu.h>
+#include <mach/imx/imx6.h>
+#include <mach/imx/ocotp-fusemap.h>
#include <mfd/imx6q-iomuxc-gpr.h>
#include <mfd/syscon.h>
#include <net.h>
diff --git a/arch/arm/boards/protonic-imx6/lowlevel.c b/arch/arm/boards/protonic-imx6/lowlevel.c
index ef8e7016d1..38e65037e6 100644
--- a/arch/arm/boards/protonic-imx6/lowlevel.c
+++ b/arch/arm/boards/protonic-imx6/lowlevel.c
@@ -6,8 +6,8 @@
#include <asm/barebox-arm.h>
#include <common.h>
-#include <mach/esdctl.h>
-#include <mach/generic.h>
+#include <mach/imx/esdctl.h>
+#include <mach/imx/generic.h>
extern char __dtb_z_imx6q_prti6q_start[];
extern char __dtb_z_imx6q_prtwd2_start[];