commit | 6127ac0d289577452848131959adb45f95cf1ec8 | [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 | 0a3f5d5f27fea89328b40b58639bbf02506de39e [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>