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)
COMPATIBLE_PROP="compatible = \"${COMPATIBLE}\";"
fi
-[ "$DTOVERLAY" ] && {
- dtbsize=$(wc -c "$DTB" | awk '{print $1}')
- DTADDR=$(printf "0x%08x" $(($LOAD_ADDR - $dtbsize)) )
-}
-
[ "$FDTADDR" ] && {
DTADDR="$FDTADDR"
}
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 {
data = /incbin/(\"${overlay_blob}\");
type = \"flat_dt\";
arch = \"${ARCH}\";
- load = <${DTADDR}>;
compression = \"none\";
hash@1 {
algo = \"crc32\";