[PATCH] kbuild: Respect CONFIG_SYS_DTC_PAD_BYTES after fdtgrep

Marek Vasut marek.vasut at mailbox.org
Mon Apr 20 14:43:14 CEST 2026


On 4/20/26 6:14 AM, Simon Glass wrote:
> On 2026-04-20T01:23:26, Marek Vasut <marek.vasut+renesas at mailbox.org> wrote:
>> kbuild: Respect CONFIG_SYS_DTC_PAD_BYTES after fdtgrep
>>
>> The fdtgrep command will reduce the DT to minimum size, thus eliminating
>> the extra padding configured via CONFIG_SYS_DTC_PAD_BYTES. Reinstate the
>> extra padding by running the output DTB from fdtgrep through DTC with the
>> -p CONFIG_SYS_DTC_PAD_BYTES flag again in case CONFIG_SYS_DTC_PAD_BYTES
>> is not zero.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
>>
>> scripts/Makefile.lib | 7 +++++++
>>   1 file changed, 7 insertions(+)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>

Is this something which can be added into fdtgrep itself btw ?


More information about the U-Boot mailing list