]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/qts-filter.sh
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / mach-socfpga / qts-filter.sh
index 16d3a2ac0c09e2107e7ee55f06286bc5e0f13df6..c1640bc32a925f7f18a61951ceaa031878cd22e5 100755 (executable)
@@ -66,7 +66,7 @@ process_pinmux_config() {
 EOF
 
        # Retrieve the pinmux config and zap the ad-hoc length encoding
-       sed -n '/^unsigned/ !b; :next {/^unsigned/ s/\[.*\]/[]/;p;n;b next}' \
+       sed -n '/^unsigned/ !b; :next {/^unsigned/ {s/\[.*\]/[]/;s/unsigned long/const u8/};p;n;b next}' \
                ${in_dir}/generated/pinmux_config_${soc}.c
 
        cat << EOF