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

2018-08-03 Thread Michael Ellerman
Rob Herring writes: > On Mon, Jul 30, 2018 at 7:15 AM Michael Ellerman wrote: ... >> diff --git a/include/linux/of.h b/include/linux/of.h >> index 4d25e4f952d9..05e3e23a3a57 100644 >> --- a/include/linux/of.h >> +++ b/include/linux/of.h >> @@ -389,6 +389,7 @@ extern int of_alias_get_id(struct dev

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

2018-07-30 Thread Rob Herring
On Mon, Jul 30, 2018 at 7:15 AM 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. > > S