[U-Boot] [PATCH v3 1/3] dts: re-write dts/Makefile more simply with Kbuild

York Sun
2014-05-27T18:32:36Z

On 02/04/2014 06:28 PM, Masahiro Yamada wrote:
> Useful rules in scripts/Makefile.lib allows us to easily
> generate a device tree blob and wrap it in assembly code.
>
> We do not need to parse a linker script to get output format and arch.
>
> This commit deletes ./u-boot.dtb since it is a copy of dts/dt.dtb.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Rebase on Kbuild series v9
> - Add ';' which was missing in arch/arm/lib/board.c
>

<snip>

>
> diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
> index b770e25..38b9c7d 100644
> --- a/arch/arm/lib/board.c
> +++ b/arch/arm/lib/board.c
> @@ -280,7 +280,7 @@ void board_init_f(ulong bootflag)
> gd->mon_len = _bss_end_ofs;
> #ifdef CONFIG_OF_EMBED
> /* Get a pointer to the FDT */
> - gd->fdt_blob = _binary_dt_dtb_start;
> + gd->fdt_blob = __dtb_db_begin;

Is this a typo? I believe it should be __dtb_dt_begin. Did anyone see the
compiling error?

York