diff --git a/scripts/socfpga_import_preloader b/scripts/socfpga_import_preloader index 9fc657e..b08262c 100755 --- a/scripts/socfpga_import_preloader +++ b/scripts/socfpga_import_preloader @@ -29,6 +29,7 @@ echo " Fixing extern/static keywords..." # Statify all global variables with missing static keyword sed -i 's/^const /static const /g' $tgt + sed -i 's/^unsigned long sys_mgr_init_table/static unsigned long sys_mgr_init_table/g' $tgt echo " Remove unused defines..." sed -i 's/\[CONFIG_HPS_PINMUX_NUM\]/\[\]/g' $tgt