summaryrefslogtreecommitdiffstats
path: root/scripts/gen-dtb-s
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-dtb-s')
-rwxr-xr-xscripts/gen-dtb-s2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-dtb-s b/scripts/gen-dtb-s
index 434612f362..a920495567 100755
--- a/scripts/gen-dtb-s
+++ b/scripts/gen-dtb-s
@@ -36,7 +36,7 @@ if [ "$imd" = "y" ]; then
if [ "$model" != "notfound" ]; then
modellen=$($FDTGET -t s "$dtb" / model | wc -c)
le32 0x640c8004
- le32 $compatlen
+ le32 $modellen
echo ".byte " $model
echo ".balign 4"
fi