diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-01-25 21:35:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-28 09:59:16 +0100 |
commit | 5d966f708a72bd81863dbe9b182929d88f7614fc (patch) | |
tree | 4d1ca0c3d89bc2ce5e9889c7b664d20fe6a70160 | |
parent | f74f28ff60e27cf6d22b90376409b6af13d32772 (diff) | |
download | barebox-5d966f708a72bd81863dbe9b182929d88f7614fc.tar.gz barebox-5d966f708a72bd81863dbe9b182929d88f7614fc.tar.xz |
gen-dtb-s: annotate magic values with their meaning
This helps understand how the imd stuff works because now
$(git grep IMD_TYPE_OF_COMPATIBLE) also matches the critical code
location that creates the imd entry.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rwxr-xr-x | scripts/gen-dtb-s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen-dtb-s b/scripts/gen-dtb-s index 4215461edb..2b44ffb361 100755 --- a/scripts/gen-dtb-s +++ b/scripts/gen-dtb-s @@ -25,7 +25,7 @@ if [ "$imd" = "y" ]; then if [ "$compat" != "notfound" ]; then compatlen=$($FDTGET -t s "$dtb" / compatible | wc -c) - le32 0x640c8005 + le32 0x640c8005 # IMD_TYPE_OF_COMPATIBLE le32 $compatlen echo ".byte " $compat echo ".balign 4" @@ -35,7 +35,7 @@ if [ "$imd" = "y" ]; then if [ "$model" != "notfound" ]; then modellen=$($FDTGET -t s "$dtb" / model | wc -c) - le32 0x640c8004 + le32 0x640c8004 # IMD_TYPE_MODEL le32 $modellen echo ".byte " $model echo ".balign 4" |