commit | bb379f6b048eb7b7115b3415c80cef8bed11f819 | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Fri Dec 14 08:42:18 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Dec 15 10:09:29 2018 -0500 |
tree | 3f8b155016121e177f9b52ab5260d130ac88da0a | |
parent | 714e36df93021ca63a4d8925d9de76c438ab4405 [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>