u-boot/board/siemens/iot2050
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
..
board.c board: siemens: iot2050: Fix M.2 detection 2023-10-27 21:02:08 -04:00
config.mk board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00
iot2050.env include: env: ti: ti_armv7_common.env: Rename to ti_common.env 2023-09-08 10:07:11 -04:00
Kconfig boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again 2023-07-28 10:11:01 -04:00
MAINTAINERS boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again 2023-07-28 10:11:01 -04:00
Makefile board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00