summaryrefslogtreecommitdiffstats
path: root/common/imx-bbu-nand-fcb.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-02-28 10:22:53 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-03-06 14:10:44 +0100
commitfaf54bb0bb4660d41efca0d24a161f8dd5ef689c (patch)
treeb28b100d7f49c00c2ebfdb6aea35970871b121dd /common/imx-bbu-nand-fcb.c
parentedf7af7bdb200b95d0e3bac8e11d4eca4fe33e31 (diff)
downloadbarebox-faf54bb0bb4660d41efca0d24a161f8dd5ef689c.tar.gz
barebox-faf54bb0bb4660d41efca0d24a161f8dd5ef689c.tar.xz
ARM: mxs: Move mach header files to include/mach/mxs
Currently arch specific headers can be included with longer possible as there won't be a single mach anymore. Move all mxs specific header files to include/mach/mxs/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/imx-bbu-nand-fcb.c')
-rw-r--r--common/imx-bbu-nand-fcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c
index f154f6705d..0d46192720 100644
--- a/common/imx-bbu-nand-fcb.c
+++ b/common/imx-bbu-nand-fcb.c
@@ -31,7 +31,7 @@
#include <mach/imx/imx6.h>
#include <mach/imx/generic.h>
#else
-#include <mach/generic.h>
+#include <mach/mxs/generic.h>
#endif
static inline int fcb_is_bch_encoded(void)
@@ -1504,7 +1504,7 @@ int imx6_bbu_nand_register_handler(const char *name, unsigned long flags)
#define MX28_BCH_FLASHLAYOUT1_DATAN_SIZE_MASK 0xfff
#ifdef CONFIG_ARCH_IMX28
-#include <mach/imx28-regs.h>
+#include <mach/mxs/imx28-regs.h>
static void imx28_fcb_create(struct imx_nand_fcb_bbu_handler *imx_handler,
struct fcb_block *fcb, struct mtd_info *mtd)