mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 0/6] commands: implement of_compatible command
Date: Thu, 25 May 2023 09:36:18 +0200	[thread overview]
Message-ID: <20230525073618.GO17518@pengutronix.de> (raw)
In-Reply-To: <20230519100120.2365970-1-a.fatoum@pengutronix.de>

On Fri, May 19, 2023 at 12:01:14PM +0200, Ahmad Fatoum wrote:
> This enables scripts to do:
> 
>   if of_compatible -k radxa,rock3a radxa,rock5a ; then
>     of_property -df mmc0 sd-uhs-sdr104
>   fi
> 
> instead of checking $global.model. See individual patches for changelog.
> 
> Ahmad Fatoum (6):
>   treewide: don't mix goto labels and statements on same line
>   treewide: drop null pointer checks around of_delete_node
>   commands: of_property: use new of_read_file
>   commands: of_dump: remove duplicate error message
>   commands: of_dump: use of_dup instead of flattening/unflattening
>   commands: implement of_compatible command
> 
>  commands/Kconfig                 |  15 ++++
>  commands/Makefile                |   1 +
>  commands/of_compatible.c         | 124 +++++++++++++++++++++++++++++++
>  commands/of_dump.c               |  28 ++-----
>  commands/of_property.c           |  16 +---
>  common/blspec.c                  |   3 +-
>  common/state/state.c             |  15 ++--
>  common/state/state_variables.c   |   9 ++-
>  drivers/usb/gadget/udc/fsl_udc.c |   3 +-
>  9 files changed, 168 insertions(+), 46 deletions(-)
>  create mode 100644 commands/of_compatible.c

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      parent reply	other threads:[~2023-05-25  7:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 10:01 Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 1/6] treewide: don't mix goto labels and statements on same line Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 2/6] treewide: drop null pointer checks around of_delete_node Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 3/6] commands: of_property: use new of_read_file Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 4/6] commands: of_dump: remove duplicate error message Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 5/6] commands: of_dump: use of_dup instead of flattening/unflattening Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 6/6] commands: implement of_compatible command Ahmad Fatoum
2023-05-25  7:36 ` Sascha Hauer [this message]

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=20230525073618.GO17518@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox