]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Automatically include a U-Boot .dtsi file
authorSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 03:15:59 +0000 (20:15 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Dec 2016 19:09:55 +0000 (08:09 +1300)
commit5ffa4368b3bac20c460a946e64f9df6b30b57dce
treea535afd43e1096c67c1527102b936984c8dc6b78
parentf034ae62a76119faa48c64019ac0525f2944a1e4
binman: Automatically include a U-Boot .dtsi file

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 <sjg@chromium.org>
Suggested-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
scripts/Makefile.lib
tools/binman/README