From: Masahiro Yamada Date: Fri, 25 Apr 2014 12:51:09 +0000 (+0900) Subject: arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y X-Git-Tag: v2014.07-rc3~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2aff23cadfb727ae0c2cbe2008383ac080f0f54c;p=oweals%2Fu-boot.git arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y The build fails if a non-generic ARM board is compiled with CONFIG_OF_EMBED=y. The correct symbol name for embedded FDT is not __dtb_db_begin, but __dtb_dt_begin. (A typo introduced by commit 6ab6b2af) Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 9b473b5eab..76adaf3aa4 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -277,7 +277,7 @@ void board_init_f(ulong bootflag) gd->mon_len = (ulong)&__bss_end - (ulong)_start; #ifdef CONFIG_OF_EMBED /* Get a pointer to the FDT */ - gd->fdt_blob = __dtb_db_begin; + gd->fdt_blob = __dtb_dt_begin; #elif defined CONFIG_OF_SEPARATE /* FDT is at end of image */ gd->fdt_blob = &_end;