aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-12 04:07:57 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-07-13 12:05:28 +0100
commit50507f5af3d3b3630a448412581707dcf60b08fa (patch)
tree9820ce1222c722a601d84ae24b31a0a5fcfdc2fd /scripts
parent5bd5be03bb5a80338824f7bc9223261a5a14f59d (diff)
downloadupstream-50507f5af3d3b3630a448412581707dcf60b08fa.tar.gz
upstream-50507f5af3d3b3630a448412581707dcf60b08fa.tar.bz2
upstream-50507f5af3d3b3630a448412581707dcf60b08fa.zip
scripts/mkits.sh: DT overlays don't need a loadaddr
DT overlays do not need relocation in order to be applied, so drop defining the load address for dtbos. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit cff3786bd54cec8276f1fd08d5c6697846f393a5)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkits.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index b1c6f98867..bd6cddabf4 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -88,11 +88,6 @@ if [ -n "${COMPATIBLE}" ]; then
COMPATIBLE_PROP="compatible = \"${COMPATIBLE}\";"
fi
-[ "$DTOVERLAY" ] && {
- dtbsize=$(wc -c "$DTB" | awk '{print $1}')
- DTADDR=$(printf "0x%08x" $(($LOAD_ADDR - $dtbsize)) )
-}
-
[ "$FDTADDR" ] && {
DTADDR="$FDTADDR"
}
@@ -170,7 +165,6 @@ OVCONFIGS=""
ovnode="fdt-$ovname"
ovsize=$(wc -c "$overlay_blob" | awk '{print $1}')
echo "$ovname ($overlay_blob) : $ovsize" >&2
- DTADDR=$(printf "0x%08x" $(($DTADDR - $ovsize)))
FDTOVERLAY_NODE="$FDTOVERLAY_NODE
$ovnode {
@@ -179,7 +173,6 @@ OVCONFIGS=""
data = /incbin/(\"${overlay_blob}\");
type = \"flat_dt\";
arch = \"${ARCH}\";
- load = <${DTADDR}>;
compression = \"none\";
hash@1 {
algo = \"crc32\";