diff options
| author | Inochi Amaoto <[email protected]> | 2024-02-23 16:18:13 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-02-24 15:57:59 +0530 |
| commit | f056939d8a422d8719f185b44d4abed278f3ee8a (patch) | |
| tree | 315ad1f724d9ff521ba890a7d59dc6125c061339 /firmware/objects.mk | |
| parent | 7227cddcb4c09cf63915011c409b7c1fe4f0c014 (diff) | |
firmware: Add relocatable FW_PAYLOAD_FDT_ADDR
The fw_payload.bin has the same issue as described in previous patch.
But only FW_PAYLOAD_FDT_ADDR is affected.
Add FW_PAYLOAD_FDT_OFFSET to identify relocatable payload fdt address.
Signed-off-by: Inochi Amaoto <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'firmware/objects.mk')
| -rw-r--r-- | firmware/objects.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/objects.mk b/firmware/objects.mk index fef090a4..3ae0a28f 100644 --- a/firmware/objects.mk +++ b/firmware/objects.mk @@ -65,6 +65,9 @@ ifdef FW_PAYLOAD_ALIGN firmware-genflags-$(FW_PAYLOAD) += -DFW_PAYLOAD_ALIGN=$(FW_PAYLOAD_ALIGN) endif +ifdef FW_PAYLOAD_FDT_OFFSET +firmware-genflags-$(FW_PAYLOAD) += -DFW_PAYLOAD_FDT_OFFSET=$(FW_PAYLOAD_FDT_OFFSET) +endif ifdef FW_PAYLOAD_FDT_ADDR firmware-genflags-$(FW_PAYLOAD) += -DFW_PAYLOAD_FDT_ADDR=$(FW_PAYLOAD_FDT_ADDR) endif |
