On 21 November 2017 at 05:29, Goldschmidt Simon
<sgoldschm...@de.pepperl-fuchs.com> wrote:
> 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: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com>
> ---
>  dts/Makefile         | 35 +++++++++++++++++++++++++++++++----
>  include/common.h     |  1 +
>  lib/fdtdec.c         |  4 ++++
>  scripts/Makefile.spl | 20 ++------------------
>  4 files changed, 38 insertions(+), 22 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to