firmware: Add common FW_FDT_PATH compile-time option
authorAnup Patel <anup.patel@wdc.com>
Wed, 14 Oct 2020 10:33:35 +0000 (16:03 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 18 Oct 2020 04:58:26 +0000 (10:28 +0530)
commit6ca096977d723f3ac50291d668719bd938a85544
tree080b13bd140acc05ef08066dcb35586553bd90b9
parentaf4b50f896684040dd3f56f2fdcad702f527c633
firmware: Add common FW_FDT_PATH compile-time option

Currently, only FW_PAYLOAD has mechanism to embed external
FDT using FW_PAYLOAD_FDT_PATH compile-time option.

This patch adds a common FW_FDT_PATH compile-time option to
embed external FDT for all OpenSBI firmwares (i.e FW_JUMP,
FW_PAYLOAD, and FW_DYNAMIC).

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
docs/firmware/fw.md
firmware/external_deps.mk
firmware/fw_base.S
firmware/objects.mk