On Tue, Oct 17, 2023 at 07:20:14AM +0200, Jan Kiszka wrote:

> From: Jan Kiszka <jan.kis...@siemens.com>
> 
> 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.
> 
> While changing this, we can also drop the not really needed check for
> !board_is_sr1 in board_is_m2 and call the boards by their names
> ("board_is_pg1").
> 
> Reported-and-tested-by: Bao Cheng Su <baocheng...@siemens.com>
> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to