summaryrefslogtreecommitdiffstats
path: root/scripts/socfpga_xml_to_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/socfpga_xml_to_config.sh')
-rwxr-xr-xscripts/socfpga_xml_to_config.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/socfpga_xml_to_config.sh b/scripts/socfpga_xml_to_config.sh
index 3bb0dd283b..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
@@ -74,6 +74,14 @@ pinmux_config() {
# FIXME: Either find solution how to parse these values too or replace
# script with something that goes more in the direction of a programming
# language
+ # 21:19 RTRIM
+ # 18:17 INPUT_BUF_EN
+ # 16 WK_PU_EN
+ # 13 PU_SLW_RT
+ # 12:8 PU_DRV_STRG
+ # 5 PD_SLW_RT
+ # 4:0 PD_DRV_STRG
+
DEDICATED_FIXME="[arria10_pincfg_dedicated_io_bank] = FIXME,
[arria10_pincfg_dedicated_io_1] = FIXME,
[arria10_pincfg_dedicated_io_2] = FIXME,
@@ -99,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