Skip to content
Snippets Groups Projects
Commit 9bd76b80 authored by Goldschmidt Simon's avatar Goldschmidt Simon Committed by Tom Rini
Browse files

spl: make CONFIG_OF_EMBED pass dts through fdtgrep


Building spl with CONFIG_OF_EMBED enabled results in an error message
on my board: "SPL image too big". This is because the fdtgrep build
step is only executed for CONFIG_OF_SEPARATE.

Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from
scripts/Makefile.spl to dts/Makefile so that the reduced dtb is
available for all kinds of spl builds.

The resulting variable name for the embedded device tree blob changes,
too, which is why common.h and fdtdec.c have tiny changes.

Signed-off-by: default avatarSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 20188f51
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment