From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 27 May 2014 11:32:36 -0700 Subject: [U-Boot] [PATCH v3 1/3] dts: re-write dts/Makefile more simply with Kbuild In-Reply-To: <1391567307-27434-2-git-send-email-yamada.m@jp.panasonic.com> References: <1391567307-27434-1-git-send-email-yamada.m@jp.panasonic.com> <1391567307-27434-2-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <5384DA44.9090901@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > Changes in v3: None > Changes in v2: > - Rebase on Kbuild series v9 > - Add ';' which was missing in arch/arm/lib/board.c > > > 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