[PATCH v6 0/5] add different OF board fixups

Sascha Hauer sha at pengutronix.de
Thu May 5 00:15:31 PDT 2022


On Tue, May 03, 2022 at 11:12:15AM +0200, Oleksij Rempel wrote:
> 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(-)

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 |



More information about the barebox mailing list