[PATCH v2 0/4] add different OF board fixups

Oleksij Rempel o.rempel at pengutronix.de
Wed Apr 27 02:37:48 PDT 2022


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 (3):
  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()

 arch/arm/boards/protonic-imx6/board.c | 20 +----------
 arch/arm/boards/skov-imx6/board.c     | 40 ++-------------------
 arch/arm/mach-imx/Kconfig             |  1 +
 common/Kconfig                        | 10 ++++++
 common/misc.c                         | 33 ++++++++++++++++++
 common/oftree.c                       | 50 +++++++++++++++++++++++++++
 include/common.h                      |  6 ++++
 include/of.h                          |  6 ++++
 8 files changed, 110 insertions(+), 56 deletions(-)

-- 
2.30.2




More information about the barebox mailing list