On Mon, 17 Dec 2018 at 12:11, Simon Goldschmidt <[email protected]> wrote: > > From: Simon Goldschmidt <[email protected]> > > 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 <[email protected]> > --- > > Changes in v2: > - fixed whitespace (v1 had spaces instead of tabs) > > common/bootm.c | 3 ++- > common/image-fdt.c | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

