Re: [PATCH v2 1/5] of: Add of_machine_compatible_match()

2024-03-13 Thread Michael Ellerman
On Thu, 14 Dec 2023 21:31:48 +1100, Michael Ellerman wrote: > We have of_machine_is_compatible() to check if a machine is compatible > with a single compatible string. However some code is able to support > multiple compatible boards, and so wants to check for one of many > compatible strings. > >

[PATCH v2 1/5] of: Add of_machine_compatible_match()

2023-12-14 Thread Michael Ellerman
We have of_machine_is_compatible() to check if a machine is compatible with a single compatible string. However some code is able to support multiple compatible boards, and so wants to check for one of many compatible strings. So add of_machine_compatible_match() which takes a NULL terminated arra