diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-02-27 16:16:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-06 14:10:41 +0100 |
commit | 8d0f5a36f107ce152c94a60a243088855170f637 (patch) | |
tree | 1cfa5d18f6f50d851d166cc324aa7596d9085820 /drivers/hab | |
parent | 9dbf98e2260c1a7efd32a68bc7078f96c4384523 (diff) | |
download | barebox-8d0f5a36f107ce152c94a60a243088855170f637.tar.gz |
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 'drivers/hab')
-rw-r--r-- | drivers/hab/hab.c | 8 | ||||
-rw-r--r-- | drivers/hab/habv3.c | 2 | ||||
-rw-r--r-- | drivers/hab/habv4.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/hab/hab.c b/drivers/hab/hab.c index 2746f27a1e..65384a6c10 100644 --- a/drivers/hab/hab.c +++ b/drivers/hab/hab.c @@ -9,10 +9,10 @@ #include <hab.h> #include <regmap.h> #include <fs.h> -#include <mach/iim.h> -#include <mach/imx25-fusemap.h> -#include <mach/ocotp.h> -#include <mach/imx6-fusemap.h> +#include <mach/imx/iim.h> +#include <mach/imx/imx25-fusemap.h> +#include <mach/imx/ocotp.h> +#include <mach/imx/imx6-fusemap.h> bool imx_hab_srk_hash_valid(const void *buf) { diff --git a/drivers/hab/habv3.c b/drivers/hab/habv3.c index 235db78c10..4818dae7d1 100644 --- a/drivers/hab/habv3.c +++ b/drivers/hab/habv3.c @@ -5,7 +5,7 @@ #include <common.h> #include <hab.h> #include <io.h> -#include <mach/generic.h> +#include <mach/imx/generic.h> struct hab_status { u8 value; diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c index 9101fc1cae..252e38f655 100644 --- a/drivers/hab/habv4.c +++ b/drivers/hab/habv4.c @@ -14,8 +14,8 @@ #include <linux/arm-smccc.h> #include <asm/cache.h> -#include <mach/generic.h> -#include <mach/imx8mq.h> +#include <mach/imx/generic.h> +#include <mach/imx/imx8mq.h> #define HABV4_RVT_IMX28 0xffff8af8 #define HABV4_RVT_IMX6_OLD 0x00000094 |