From 8d0f5a36f107ce152c94a60a243088855170f637 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 27 Feb 2023 16:16:05 +0100 Subject: ARM: i.MX: Move mach header files to include/mach/imx Currently arch specific headers can be included with #include . 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 --- common/filetype.c | 2 +- common/imx-bbu-nand-fcb.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/filetype.c b/common/filetype.c index 8f79f48bc1..68ea45861d 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -18,7 +18,7 @@ #include #include -#include +#include struct filetype_str { const char *name; /* human readable filetype */ diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c index 24b0e7592e..f154f6705d 100644 --- a/common/imx-bbu-nand-fcb.c +++ b/common/imx-bbu-nand-fcb.c @@ -25,11 +25,13 @@ #include #include #include -#include #include #include #ifdef CONFIG_ARCH_IMX -#include +#include +#include +#else +#include #endif static inline int fcb_is_bch_encoded(void) @@ -1566,7 +1568,7 @@ static int imx7_fcb_read(struct mtd_info *mtd, int block, struct fcb_block **ret } #ifdef CONFIG_ARCH_IMX7 -#include +#include static void imx7_fcb_create(struct imx_nand_fcb_bbu_handler *imx_handler, struct fcb_block *fcb, struct mtd_info *mtd) -- cgit v1.2.1