diff options
author | Goldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com> | 2017-11-21 12:29:56 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-29 22:36:58 -0500 |
commit | 9bd76b807636599712b4f932da9b57d5d3e8fad4 (patch) | |
tree | 1c1c3f92377a23e1ae6e1cbb3d17ba3f22bb1d7e /include | |
parent | 20188f519a75e9d6cdd97c9e747c2550af07eb5f (diff) |
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: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index e14e1daa88..6e24545178 100644 --- a/include/common.h +++ b/include/common.h @@ -201,6 +201,7 @@ int last_stage_init(void); extern ulong monitor_flash_len; int mac_read_from_eeprom(void); extern u8 __dtb_dt_begin[]; /* embedded device tree blob */ +extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */ int set_cpu_clk_info(void); int mdm_init(void); int print_cpuinfo(void); |