diff options
author | hsiang-chia.huang <hsiangchia.huang@sifive.com> | 2019-05-24 10:22:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 10:22:08 +0800 |
commit | faf58a49c3b6421107ada0e8af43170a5ffafcea (patch) | |
tree | 3996d52a748ae2420b5c9c6c9efe4158d5dece53 /scripts/fixup-dts | |
parent | 7817c5e85cb6f9f6d5b98f6702fa4b7d1fb99e02 (diff) | |
parent | 2c0269905929128bd0bd13a55ae3d8afd60a1af6 (diff) |
Merge branch 'development-19.05' into dhrystone_19.05
Diffstat (limited to 'scripts/fixup-dts')
-rwxr-xr-x | scripts/fixup-dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fixup-dts b/scripts/fixup-dts index 005c5de..278b835 100755 --- a/scripts/fixup-dts +++ b/scripts/fixup-dts @@ -43,7 +43,7 @@ if [ `grep -c 'riscv,pmp' ${dts}` -eq 0 ]; then $TARGET != "coreip-e20-rtl" -a \ $TARGET != "coreip-e20-arty" ]; then - ${SED} -i 's/ranges;/ranges;\n\t\tpmp: pmp@0 {\n\t\t\tcompatible = "riscv,pmp";\n\t\t\tregions = <1>;\n\t\t};/' ${dts} + ${SED} -i '/riscv,isa/a riscv,pmpregions = <1>;' ${dts} echo -e "$0: \tAdded pmp@0" fi |