Skip to content

Commit

Permalink
Fix when no serial node in dtb
Browse files Browse the repository at this point in the history
bm1690 tp dtb has not serial node.

Signed-off-by: bowen.pang <[email protected]>
  • Loading branch information
xingxg2022 committed Sep 7, 2024
1 parent d9438ac commit 537f010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/generic/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int generic_early_init(bool cold_boot)
else
rc = fdt_serial_init(fdt);
if (rc)
return rc;
return (rc == SBI_ENODEV) ? 0 : rc;
}

if (!generic_plat || !generic_plat->early_init)
Expand Down

0 comments on commit 537f010

Please sign in to comment.