Skip to content

Commit c21d0a7

Browse files
committed
dtmerge: Support bcm2712 as a platform
Add "bcm2712" as a recognised platform. This will prevent Pi 5 from loading bcm2711-specific versions, but there's a good chance they wouldn't work anyway and will require modifications.
1 parent 2bd898f commit c21d0a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dtmerge/dtoverlay.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,6 +2550,11 @@ void dtoverlay_init_map_from_fp(FILE *fp, const char *compatible,
25502550
platform_name = "bcm2711";
25512551
break;
25522552
}
2553+
else if (strncmp(p, "bcm2712", len) == 0)
2554+
{
2555+
platform_name = "bcm2712";
2556+
break;
2557+
}
25532558

25542559
compatible_len -= (p - compatible);
25552560
compatible = p;

0 commit comments

Comments
 (0)