mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <eric.schikschneit@novatechautomation.com> [trini: Change default order so that X86 && EFI_APP works correctly]
This commit is contained in:
committed by
Tom Rini
parent
0c6c8065a2
commit
5ba5cbf5a2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user