All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 09/13] binman: Automatically include a U-Boot .dtsi file
Date: Fri, 23 Dec 2016 01:38:13 -0700	[thread overview]
Message-ID: <CAPnjgZ37wt-Hx88VHq7ykLVMtTK5WBO7rzq5e9J5j2Dm2PDTtg@mail.gmail.com> (raw)
In-Reply-To: <CAEUhbmUAdDB69gxODybTi4pZcF1Jk1RArPSt-b8CJUWkA6vEHw@mail.gmail.com>

On 17 December 2016 at 20:41, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass <sjg@chromium.org> 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 <sjg@chromium.org>
>> Suggested-by: Tom Rini <trini@konsulko.com>
>> ---
>>
>> 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 <bmeng.cn@gmail.com>
> Tested-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot-dm and now in mainline.

  reply	other threads:[~2016-12-23  8:38 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-26  3:15 [U-Boot] [PATCH v6 00/13] binman: A tool for creating firmware images Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2017-01-16 20:25   ` Jörg Krause
2017-01-21  3:51     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 02/13] binman: Add basic entry types for U-Boot Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 03/13] binman: Add support for building x86 ROMs Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 04/13] binman: Add support for u-boot.img as an input binary Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 05/13] binman: Add support for building x86 ROMs with SPL Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 06/13] binman: Add support for building x86 images with FSP/CMC Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 07/13] binman: Add a build rule for binman Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:37     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 08/13] binman: Allow configuration options to be used in .dts files Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:38     ` Simon Glass
2016-11-26  3:15 ` [U-Boot] [PATCH v6 09/13] binman: Automatically include a U-Boot .dtsi file Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:38     ` Simon Glass [this message]
2016-11-26  3:16 ` [U-Boot] [PATCH v6 10/13] tegra: Use a U-Boot-specific " Simon Glass
2016-12-23  8:39   ` Simon Glass
2016-11-26  3:16 ` [U-Boot] [PATCH v6 11/13] sunxi: Use binman for sunxi boards Simon Glass
2016-12-19  2:48   ` [U-Boot] [U-Boot,v6,11/13] " Tom Rini
2016-12-23  8:39     ` Simon Glass
2016-12-28 10:30       ` Emmanuel Vadot
2016-12-28 10:57         ` Emmanuel Vadot
2017-01-12  5:08           ` Simon Glass
2017-01-14 13:38             ` Emmanuel Vadot
2017-01-14 15:03               ` Tom Rini
2016-11-26  3:16 ` [U-Boot] [PATCH v6 12/13] x86: Use binman all x86 boards Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:39     ` Simon Glass
2016-11-26  3:16 ` [U-Boot] [PATCH v6 13/13] binman: Drop microcode features from ifdtool Simon Glass
2016-12-18  3:41   ` Bin Meng
2016-12-23  8:39     ` Simon Glass
2016-11-30  2:29 ` [U-Boot] [PATCH v6 00/13] binman: A tool for creating firmware images Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ37wt-Hx88VHq7ykLVMtTK5WBO7rzq5e9J5j2Dm2PDTtg@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.