On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass <[email protected]> wrote: > For boards that need U-Boot-specific additions to the device tree, it is > a minor annoyance to have to add these each time the tree is synced with > upstream. > > Add a means to include a file (e.g. u-boot.dtsi) automatically into the .dts > file before it is compiled. > > The file uses is the first one that exists in this list: > > arch/<arch>/dts/<board.dts>-u-boot.dtsi > arch/<arch>/dts/<soc>-u-boot.dtsi > arch/<arch>/dts/<cpu>-u-boot.dtsi > arch/<arch>/dts/<vendor>-u-boot.dtsi > arch/<arch>/dts/u-boot.dtsi > > Signed-off-by: Simon Glass <[email protected]> > Suggested-by: Tom Rini <[email protected]> > --- > > Changes in v6: None > Changes in v5: > - Add a Makefile 'warning' line for debugging > - Add documentation for this feature > - Change the Makefile variable from binman_... to u_boot_... > > Changes in v4: > - Add an option to bring in an soc .dtsi file also > > Changes in v3: > - Add a new patch to automatically include a U-Boot .dtsi file > > Changes in v2: None > > scripts/Makefile.lib | 20 +++++++++++++++++++- > tools/binman/README | 39 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 58 insertions(+), 1 deletion(-) >
Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

