summaryrefslogtreecommitdiff
path: root/arch/arm/lib/board.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-25 21:51:09 +0900
committerTom Rini <trini@ti.com>2014-06-05 14:38:38 -0400
commit2aff23cadfb727ae0c2cbe2008383ac080f0f54c (patch)
tree9a7e528405cd95919307e5019442e7c4d90d657d /arch/arm/lib/board.c
parentbffb3643ed55989f7260f495ed2ca6e4fdb54bf2 (diff)
downloadu-boot-imx-2aff23cadfb727ae0c2cbe2008383ac080f0f54c.zip
u-boot-imx-2aff23cadfb727ae0c2cbe2008383ac080f0f54c.tar.gz
u-boot-imx-2aff23cadfb727ae0c2cbe2008383ac080f0f54c.tar.bz2
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 <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/lib/board.c')
-rw-r--r--arch/arm/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 9b473b5..76adaf3 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;