All of lore.kernel.org
 help / color / mirror / Atom feed
From: Troy Kisky <troy.kisky@boundarydevices.com>
To: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [PATCH v1 0/5] Move board specific files to board directory
Date: Thu, 6 Jan 2022 13:14:40 -0800	[thread overview]
Message-ID: <f571521e-5ee6-fcb4-dbff-5bb5c1a285cc@boundarydevices.com> (raw)
In-Reply-To: <20211228131115.GZ2773246@bill-the-cat>

On 12/28/2021 5:11 AM, Tom Rini wrote:
> On Tue, Dec 28, 2021 at 01:33:05AM -0700, Simon Glass wrote:
>> Hi Troy,
>>
>> On Fri, 17 Dec 2021 at 16:02, Troy Kisky <troy.kisky@boundarydevices.com> wrote:
>>>
>>> This series intends to let board specific files live in the boards
>>> directory. The last patch moves files for nitrogen6x.
>>> I have tested it with buildman
>>>
>>> ./tools/buildman/buildman boundary -b denx_master
>>>
>>> But it is likely the more scripts then just tools/genboardscfg.py would
>>> need to be updated.
>>>
>>> Troy Kisky (5):
>>>   kconfig: allow defconfigs to live in board directory
>>>   dts: allow dts files in board directory
>>>   scripts: Makefile.autoconf: allow CONFIG_SYS_CONFIG_NAME file to live
>>>     in board directory
>>>   genboardcfg: allow defconfigs in board directory
>>>   nitrogen6x: move board specific files to nitrogen6x directory
>>>
>>>  arch/arm/dts/Makefile                         |  3 --
>>>  board/boundary/nitrogen6x/MAINTAINERS         | 13 -------
>>>  board/boundary/nitrogen6x/Makefile            | 13 +++++++
>>>  .../nitrogen6x}/imx6dl-nitrogen6x.dts         |  0
>>>  .../boundary/nitrogen6x}/imx6q-nitrogen6x.dts |  0
>>>  .../boundary/nitrogen6x}/imx6q-sabrelite.dts  |  0
>>>  .../nitrogen6x}/imx6qdl-nitrogen6x.dtsi       |  0
>>>  .../nitrogen6x}/imx6qdl-sabrelite.dtsi        |  0
>>>  .../nitrogen6x}/mx6qsabrelite_defconfig       |  0
>>>  .../nitrogen6x}/nitrogen6dl2g_defconfig       |  0
>>>  .../nitrogen6x}/nitrogen6dl_defconfig         |  0
>>>  .../nitrogen6x}/nitrogen6q2g_defconfig        |  0
>>>  .../boundary/nitrogen6x}/nitrogen6q_defconfig |  0
>>>  .../nitrogen6x}/nitrogen6s1g_defconfig        |  0
>>>  .../boundary/nitrogen6x}/nitrogen6s_defconfig |  0
>>>  .../boundary/nitrogen6x}/nitrogen6x.h         |  2 +-
>>>  dts/Makefile                                  | 11 +++++-
>>>  scripts/Makefile.autoconf                     |  9 ++++-
>>>  scripts/Makefile.lib                          |  1 +
>>>  scripts/kconfig/Makefile                      |  9 ++++-
>>>  tools/genboardscfg.py                         | 37 ++++++++++++++++++-
>>>  21 files changed, 75 insertions(+), 23 deletions(-)
>>>  rename {arch/arm/dts => board/boundary/nitrogen6x}/imx6dl-nitrogen6x.dts (100%)
>>>  rename {arch/arm/dts => board/boundary/nitrogen6x}/imx6q-nitrogen6x.dts (100%)
>>>  rename {arch/arm/dts => board/boundary/nitrogen6x}/imx6q-sabrelite.dts (100%)
>>>  rename {arch/arm/dts => board/boundary/nitrogen6x}/imx6qdl-nitrogen6x.dtsi (100%)
>>>  rename {arch/arm/dts => board/boundary/nitrogen6x}/imx6qdl-sabrelite.dtsi (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/mx6qsabrelite_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6dl2g_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6dl_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6q2g_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6q_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6s1g_defconfig (100%)
>>>  rename {configs => board/boundary/nitrogen6x}/nitrogen6s_defconfig (100%)
>>>  rename {include/configs => board/boundary/nitrogen6x}/nitrogen6x.h (98%) I'm not about the goal.
>>
>> Can you please add a few notes about the motivation for this change?
> 
> Sorry for the delayed reply here.  I'm also not entirely sure this is a
> good idea.  Moving the defconfig files?  Maybe.  It does make checking
> all configs a bit more tricky, but indeed the configs directory is
> unwieldy.  Moving the dts files?  Those should be a direct cp from the
> kernel, so that makes things less clear to me.  Especially since it will
> need other common files that will still be elsewhere.
> 

They will still be a direct copy. Notice the 100% rename. Common files still living in the dts
directory is less clear. I can try to address the "piecemeal building of .dts files" if this
still has a chance of being accepted.

Thanks
Troy


  reply	other threads:[~2022-01-06 21:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 23:01 [PATCH v1 0/5] Move board specific files to board directory Troy Kisky
2021-12-17 23:01 ` [PATCH v1 1/5] kconfig: allow defconfigs to live in " Troy Kisky
2021-12-28  8:33   ` Simon Glass
2022-01-06 21:00     ` Troy Kisky
2021-12-17 23:01 ` [PATCH v1 2/5] dts: allow dts files " Troy Kisky
2021-12-28  8:33   ` Simon Glass
2022-01-06 21:01     ` Troy Kisky
2021-12-17 23:01 ` [PATCH v1 3/5] scripts: Makefile.autoconf: allow CONFIG_SYS_CONFIG_NAME file to live " Troy Kisky
2021-12-28  8:33   ` Simon Glass
2022-01-06 21:09     ` Troy Kisky
2022-01-30 23:14       ` Simon Glass
2021-12-17 23:01 ` [PATCH v1 4/5] genboardcfg: allow defconfigs " Troy Kisky
2021-12-28  8:33   ` Simon Glass
2021-12-17 23:01 ` [PATCH v1 5/5] nitrogen6x: move board specific files to nitrogen6x directory Troy Kisky
2021-12-28  8:33   ` Simon Glass
2021-12-28  8:33 ` [PATCH v1 0/5] Move board specific files to board directory Simon Glass
2021-12-28 13:11   ` Tom Rini
2022-01-06 21:14     ` Troy Kisky [this message]
2022-01-07 15:12       ` Tom Rini
2022-01-07 18:33         ` Troy Kisky
2022-01-30 23:14           ` Simon Glass
2022-02-08 14:30           ` Tom Rini
2022-03-15 19:08             ` Troy Kisky
2022-03-15 20:01               ` Tom Rini
2022-03-15 20:23                 ` Troy Kisky
2022-03-16 14:48                   ` Tom Rini

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=f571521e-5ee6-fcb4-dbff-5bb5c1a285cc@boundarydevices.com \
    --to=troy.kisky@boundarydevices.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --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.