From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 27 Sep 2016 21:55:39 -0400 Subject: [U-Boot] [PATCH v2 11/12] RFC: Use binman for a sunxi board In-Reply-To: <1474840348-22780-12-git-send-email-sjg@chromium.org> References: <1474840348-22780-1-git-send-email-sjg@chromium.org> <1474840348-22780-12-git-send-email-sjg@chromium.org> Message-ID: <20160928015539.GF4884@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Sep 25, 2016 at 03:52:27PM -0600, Simon Glass wrote: > Add an example usage of binman for a sunxi board. This involves adding the > image definition to the device tree and using it in the Makefile. > > This is for example only. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > Makefile | 4 +--- > arch/arm/dts/sun7i-a20-pcduino3.dts | 12 ++++++++++++ I think this shows the big problem with using binman today. For the common case of ARM, where we sync in the dts* files from upstream, this will add hunks that must not be overwritten each time. Looking at scripts/Makefile.lib::cmd_fdt I wonder if we couldn't come up with some wildcard rule and check if, somewhere CONFIG'd ? $(BOARDDIR)/ ? u-boot.dtsi exists add in -include that/file.dtsi to the CPP rule so that we can keep the parts that will never get upstream separate. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: