u-boot/board/siemens
Jan Kiszka 33e8020fd1 board: siemens: iot2050: Fix M.2 detection
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.su@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2023-10-27 21:02:08 -04:00
..
capricorn treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
common etamin: Rework CONFIG_NAND_CS_INIT 2022-12-22 10:31:48 -05:00
corvus global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
draco etamin: Rework CONFIG_NAND_CS_INIT 2022-12-22 10:31:48 -05:00
iot2050 board: siemens: iot2050: Fix M.2 detection 2023-10-27 21:02:08 -04:00
pxm2 video: siemens: Drop unused video code 2022-03-28 20:16:19 +02:00
rut video: siemens: Drop unused video code 2022-03-28 20:16:19 +02:00
smartweb global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
taurus global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00