diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-09-04 11:28:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-04 14:43:58 +0200 |
commit | c61c813e770e048c64801ed3a6220cff0d39dfab (patch) | |
tree | f7a2b964173e815cd5646b8a45a687809e96575d /scripts | |
parent | 410fa9004da74a88ec2358fc8a89d104e6c4e5bd (diff) | |
download | barebox-c61c813e770e048c64801ed3a6220cff0d39dfab.tar.gz barebox-c61c813e770e048c64801ed3a6220cff0d39dfab.tar.xz |
Fix barebox metadata
Patch 97e81f2d78f3 (Add support for metadata in barebox images)
writes the wrong length for the model tag in the barebox metadata.
Fix this to use the correct value.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen-dtb-s | 2 |
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 |