mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH v6 0/5] add different OF board fixups
Date: Tue,  3 May 2022 11:12:15 +0200	[thread overview]
Message-ID: <20220503091220.3871612-1-o.rempel@pengutronix.de> (raw)

changes v6:
- remove MACHINE_FIXUP Kconfig
- use barebox_get_serial_number instead of getenv
- use of_device_is_compatible() instead of of_machine_is_compatible()
  and remove warning if compatible is already registered.

changes v5:
- remove SERIAL_NUMBER_FIXUP Kconfig
- s/of_fixup_machine_compatible/of_prepend_machine_compatible
- remove bogus comment
- check if the passed device tree already is compatible to @compat

changes v4:
- s/code info device/code into device/

changes v3:
- rename global.of_machine_compatible to global.of.kernel.add_machine_compatible

changes v2:
- protonic: use only allowed chars for generated compatible
- protonic: make use of of_get_machine_compatible() to get board name
- of_fixup_machine_compatible: make curcompat optional
- add $global.of_machine_compatible

Add optional fixups for board serial-number and machine compatible.

Ahmad Fatoum (1):
  common: add $global.serial_number with device tree fixup

Oleksij Rempel (4):
  ARM: boards: protonic-imx6: make use of barebox_set_serial_number()
  of: add generic of_prepend_machine_compatible()
  ARM: boards: skov-imx6: make use of of_prepend_machine_compatible()
  ARM: boards: protonic-imx6: add HW revision specific machine
    compatible

 arch/arm/boards/protonic-imx6/board.c | 42 ++++++++++++---------------
 arch/arm/boards/skov-imx6/board.c     | 40 ++-----------------------
 common/misc.c                         | 39 +++++++++++++++++++++++++
 common/oftree.c                       | 41 ++++++++++++++++++++++++++
 include/common.h                      |  6 ++++
 include/of.h                          |  6 ++++
 6 files changed, 114 insertions(+), 60 deletions(-)

-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


             reply	other threads:[~2022-05-03  9:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  9:12 Oleksij Rempel [this message]
2022-05-03  9:12 ` [PATCH v6 1/5] common: add $global.serial_number with device tree fixup Oleksij Rempel
2022-05-03  9:12 ` [PATCH v6 2/5] ARM: boards: protonic-imx6: make use of barebox_set_serial_number() Oleksij Rempel
2022-05-03  9:12 ` [PATCH v6 3/5] of: add generic of_prepend_machine_compatible() Oleksij Rempel
2022-05-03  9:12 ` [PATCH v6 4/5] ARM: boards: skov-imx6: make use of of_prepend_machine_compatible() Oleksij Rempel
2022-05-03  9:12 ` [PATCH v6 5/5] ARM: boards: protonic-imx6: add HW revision specific machine compatible Oleksij Rempel
2022-05-05  7:15 ` [PATCH v6 0/5] add different OF board fixups Sascha Hauer

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=20220503091220.3871612-1-o.rempel@pengutronix.de \
    --to=o.rempel@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