diff options
| author | Eric Schikschneit <[email protected]> | 2025-06-03 12:06:24 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-19 19:00:09 -0600 |
| commit | 5ba5cbf5a29d54763f30b6685e6c06ffd51d29eb (patch) | |
| tree | f24f27348d09c788043072fe0535e0be808e6634 /scripts | |
| parent | 0c6c8065a27804705c324f06998fea219e62f028 (diff) | |
dtc: Add Kconfig option to pad device tree blob
This will allow arch(s) that use device tree blobs to pad the end of the
device tree so they can be modified by board files at run time. This will
help prevent errors such as FDT_ERR_NOSPACE from occurring.
Signed-off-by: Eric Schikschneit <[email protected]>
[trini: Change default order so that X86 && EFI_APP works correctly]
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.dts b/scripts/Makefile.dts index 685e3371bc6..3871a4ad412 100644 --- a/scripts/Makefile.dts +++ b/scripts/Makefile.dts @@ -16,6 +16,10 @@ dtb-y += $(subst $(dt_dir)/,,$(dtb-vendor_dts)) endif +ifneq ($(CONFIG_SYS_DTC_PAD_BYTES),0) +DTC_FLAGS += -p $(CONFIG_SYS_DTC_PAD_BYTES) +endif + targets += $(dtb-y) PHONY += dtbs |
