]> git.sur5r.net Git - u-boot/commitdiff
arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 25 Apr 2014 12:51:09 +0000 (21:51 +0900)
committerTom Rini <trini@ti.com>
Thu, 5 Jun 2014 18:38:38 +0000 (14:38 -0400)
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>
arch/arm/lib/board.c

index 9b473b5eaba250d95c11d6f8a3a18e6ee251a4c4..76adaf3aa4abf69916155cadd9f1e9e1a5effdb7 100644 (file)
@@ -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;