From: Masahiro Yamada Date: Tue, 04 Feb 2014 19:00:41 +0900 Subject: [U-Boot] [PATCH] dts: re-write dts/Makefile more simply with Kbuild In-Reply-To: References: <1391073459-5106-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140204190041.4830.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, I saw the patch you posted http://patchwork.ozlabs.org/patch/315846/ and I understood what you want to do. (But I don't like to search similar device trees with file name prefixes.) Do you like ARM Linux style? dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ exynos5250-snow.dtb \ exynos5250-smdk5250.dtb \ exynos5420-smdk5420.dtb Please check v2. > I think we should still generate this file in the root directory, > since some build systems will need to use it. I vote for removal of ./u-boot.dts because I do not want to have many copies. If we adopt multiple DTBs generation, we will have three copies: - arch/arm/dts/exynosXXX.dtb - dts/dt.dtb - ./u-boot.dtb But, if you really need a DTB at the top directory, I can revive u-boot.dtb at version 3. > > --- 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 > > Needs ; on the end I think. > Good catch! I fixed it at v2. Thanks. Best Regards Masahiro Yamada