summaryrefslogtreecommitdiff
path: root/lib/image-sparse.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2023-10-17 07:20:14 +0200
committerTom Rini <trini@konsulko.com>2023-10-27 21:02:08 -0400
commit33e8020fd198926a5cc35f5834d99c324f094b71 (patch)
tree901e51892ccfc1eb9b8edf63bc74235e8fe2d69c /lib/image-sparse.c
parent9bd2e70b3122c3584e2378eb5dfa1fe199d03a42 (diff)
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>
Diffstat (limited to 'lib/image-sparse.c')
0 files changed, 0 insertions, 0 deletions