summaryrefslogtreecommitdiffstats
path: root/scripts/socfpga_xml_to_config.sh
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-04-11 09:14:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-11 13:43:19 +0200
commit80f84cc5b68bafbf18154ac162a90ea908b76a79 (patch)
tree6a4a2d42a5eda8ed81f39cb1019a2de2b40dda65 /scripts/socfpga_xml_to_config.sh
parentad999bb66262c984e791011ebf0ac8bb815bce47 (diff)
downloadbarebox-80f84cc5b68bafbf18154ac162a90ea908b76a79.tar.gz
barebox-80f84cc5b68bafbf18154ac162a90ea908b76a79.tar.xz
treewide: fix includes missed by multiarch support
Found by manual inspection of the results of: rg '#include\s*<mach/[^/]+>' | rg -v 'arch/(powerpc|sandbox|mips|x86|kvx)' Fixes: 68b778c24314 ("ARM: Drop mach dir include path") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230411071436.1630752-13-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/socfpga_xml_to_config.sh')
-rwxr-xr-xscripts/socfpga_xml_to_config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/socfpga_xml_to_config.sh b/scripts/socfpga_xml_to_config.sh
index 1e6056cfb4..2ec2788865 100755
--- a/scripts/socfpga_xml_to_config.sh
+++ b/scripts/socfpga_xml_to_config.sh
@@ -41,7 +41,7 @@ pll_config() {
sed -e "s/^/\t./g" |
sort`
- echo "#include <mach/arria10-clock-manager.h>" > $tgt
+ echo "#include <mach/socfpga/arria10-clock-manager.h>" > $tgt
echo >> $tgt
echo "static struct arria10_mainpll_cfg mainpll_cfg = {" >> $tgt
echo "$MAINPLL" >> $tgt
@@ -107,7 +107,7 @@ pinmux_config() {
sed -e "s/\.sel' value='/] = /g" | \
sed -e "s/' \/>/,/g"`
- echo "#include <mach/arria10-pinmux.h>" > $tgt
+ echo "#include <mach/socfpga/arria10-pinmux.h>" > $tgt
echo >> $tgt
echo "static uint32_t pinmux[] = {" >> $tgt
echo "$SHARED" >> $tgt