summaryrefslogtreecommitdiff
path: root/scripts/fixup-dts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fixup-dts')
-rwxr-xr-xscripts/fixup-dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fixup-dts b/scripts/fixup-dts
index adea17d..ddbbd0c 100755
--- a/scripts/fixup-dts
+++ b/scripts/fixup-dts
@@ -71,8 +71,8 @@ fi
if [ `grep -c 'sifive,testram0' ${dts}` -eq 0 ]; then
- # bullet cores have a memory defined already
- if [ `grep -c 'sifive,bullet0' ${dts}` -eq 0 ]; then
+ # bullet and U cores have a memory defined already
+ if [ `grep -c 'sifive,bullet0' ${dts}` -eq 0 -a `grep -c 'SiFive,FU' ${dts}` -eq 0 ]; then
echo "$0: Test memory node not found in ${dts}."