summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-02-27 22:20:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-03-06 14:10:44 +0100
commit0391575d9733702f4cfeda47a14ad49328b52c10 (patch)
tree7e7712ee21fffd273aa0774da7ed0b366332e42a /scripts
parentef38ae656fe4956ef8ac8eaf7c5d964826e08e3d (diff)
downloadbarebox-0391575d9733702f4cfeda47a14ad49328b52c10.tar.gz
ARM: zynq: Move mach header files to include/mach/zynq
Currently arch specific headers can be included with longer possible as there won't be a single mach anymore. Move all zynq specific header files to include/mach/zynq/ to prepare for multi-arch support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile2
-rw-r--r--scripts/zynq_mkimage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index ac88ebb240..72ad9ad7a6 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -20,7 +20,7 @@ hostprogs-always-$(CONFIG_MIPS) += mips-relocs
hostprogs-always-$(CONFIG_MVEBU_HOSTTOOLS) += kwbimage kwboot mvebuimg
hostprogs-always-$(CONFIG_OMAP_IMAGE) += omap_signGP mk-omap-image
hostprogs-always-$(CONFIG_DAVINCI_IMAGE) += mkublheader
-HOSTCFLAGS_zynq_mkimage.o = -I$(srctree) -I$(srctree)/arch/arm/mach-zynq/include
+HOSTCFLAGS_zynq_mkimage.o = -I$(srctree) -I$(srctree)/include/mach
hostprogs-always-$(CONFIG_ZYNQ_MKIMAGE) += zynq_mkimage
hostprogs-always-$(CONFIG_SOCFPGA_MKIMAGE) += socfpga_mkimage
hostprogs-always-$(CONFIG_MXS_HOSTTOOLS) += mxsimage mxsboot
diff --git a/scripts/zynq_mkimage.c b/scripts/zynq_mkimage.c
index b611d5c69b..9c1e23ef00 100644
--- a/scripts/zynq_mkimage.c
+++ b/scripts/zynq_mkimage.c
@@ -5,7 +5,7 @@
#include <errno.h>
#include <getopt.h>
#include <linux/kernel.h>
-#include <mach/zynq-flash-header.h>
+#include <zynq/zynq-flash-header.h>
#include <malloc.h>
#include <stdint.h>
#include <stdio.h>