commit | 596be5f3274ff674f526b77f75064f0495aff693 | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Mon Dec 17 20:14:42 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 14 17:42:32 2019 -0500 |
tree | ccb045332d3cee18537bbdd15726b51ede516e6e | |
parent | eddb7278d790ceaa4a0e8c578240f999f11737b7 [diff] |
image: fix compiling without CMD_FDT Booting an image currently sets the environment variable "fdtaddr" by calling into 'cmd/fdt.c'. As a result, linking U-Boot fails if CMD_FDT is not enabled. Fix this by adding 'if (CONFIG_IS_ENABLED(CMD_FDT))' to the two places where 'set_working_fdt_addr()' is called. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>