On Qualcomm platforms the bootloader populates device tree with some extra nodes / properties (like memory size, boot time, etc). Usually default padding is enough for the bootloader. But in some cases the board will fail to boot if there is not enough padding space. Add `--pad 4096' to DTC_FLAGS so that all Qualcomm DTB files get this extra padding space. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> --- This is primarily necessary for SA8155P, but I have the feeling that it might be better to be enabled on the global scale. --- arch/arm64/boot/dts/qcom/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d6cb840b7050..8e9fa2539265 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -1,4 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 + +# pad DT allowing bootloader to populate several extra nodes +DTC_FLAGS += --pad 4096 + dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb apq8016-sbc-usb-host-dtbs := apq8016-sbc.dtb apq8016-sbc-usb-host.dtbo -- 2.39.2