Re: [PATCH] board: siemens: iot2050: Fix M.2 detection

2023-10-28 Thread Tom Rini
On Tue, Oct 17, 2023 at 07:20:14AM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > The "simpler" the logic, the higher the probability to not test and get > things wrong, again: The absence of a "-PG2" suffix is not sufficient to > derive that we are on PG1. There is also "IOT2050-ADVANCED-M2".

[PATCH] board: siemens: iot2050: Fix M.2 detection

2023-10-16 Thread Jan Kiszka
From: Jan Kiszka The "simpler" the logic, the higher the probability to not test and get things wrong, again: The absence of a "-PG2" suffix is not sufficient to derive that we are on PG1. There is also "IOT2050-ADVANCED-M2". Finally fix that by exactly matching against the two PG1 device names.