[PATCH] kbuild: Respect CONFIG_SYS_DTC_PAD_BYTES after fdtgrep
Simon Glass
sjg at chromium.org
Mon Apr 20 06:14:58 CEST 2026
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>
More information about the U-Boot
mailing list