mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v5 0/5] add different OF board fixups
@ 2022-05-03  4:42 Oleksij Rempel
  2022-05-03  4:42 ` [PATCH v5 1/5] common: add $global.serial_number with device tree fixup Oleksij Rempel
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Oleksij Rempel @ 2022-05-03  4:42 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

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_fixup_machine_compatible()
  ARM: boards: skov-imx6: make use of of_fixup_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 ++--------------------
 arch/arm/mach-imx/Kconfig             |  2 ++
 common/Kconfig                        |  5 +++
 common/misc.c                         | 39 ++++++++++++++++++++++
 common/oftree.c                       | 48 +++++++++++++++++++++++++++
 include/common.h                      |  6 ++++
 include/of.h                          |  6 ++++
 8 files changed, 128 insertions(+), 60 deletions(-)

-- 
2.30.2


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-03  7:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03  4:42 [PATCH v5 0/5] add different OF board fixups Oleksij Rempel
2022-05-03  4:42 ` [PATCH v5 1/5] common: add $global.serial_number with device tree fixup Oleksij Rempel
2022-05-03  4:42 ` [PATCH v5 2/5] ARM: boards: protonic-imx6: make use of barebox_set_serial_number() Oleksij Rempel
2022-05-03  4:42 ` [PATCH v5 3/5] of: add generic of_fixup_machine_compatible() Oleksij Rempel
2022-05-03  7:03   ` Sascha Hauer
2022-05-03  4:42 ` [PATCH v5 4/5] ARM: boards: skov-imx6: make use of of_fixup_machine_compatible() Oleksij Rempel
2022-05-03  4:42 ` [PATCH v5 5/5] ARM: boards: protonic-imx6: add HW revision specific machine compatible Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox