diff --git a/scripts/gen-dtb-s b/scripts/gen-dtb-s index 434612f..a920495 100755 --- a/scripts/gen-dtb-s +++ b/scripts/gen-dtb-s @@ -36,7 +36,7 @@ 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