mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
board: siemens: iot2050: Fix logical bug in PG1/PG2 detection
This caused the wrong fdtfile to be set and was failing to apply M.2
settings.
Fixes: badaa1f6a7
("boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
53a1eb994a
commit
b362ceb489
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ static bool board_is_sr1(void)
|
|||
struct iot2050_info *info = IOT2050_INFO_DATA;
|
||||
|
||||
return info->magic == IOT2050_INFO_MAGIC &&
|
||||
strstr((char *)info->name, "-PG2") != NULL;
|
||||
strstr((char *)info->name, "-PG2") == NULL;
|
||||
}
|
||||
|
||||
static bool board_is_m2(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue