mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
dtoverlay: 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.
This commit is contained in:
@@ -2559,6 +2559,11 @@ void dtoverlay_init_map_from_fp(FILE *fp, const char *compatible,
|
||||
platform_name = "bcm2711";
|
||||
break;
|
||||
}
|
||||
else if (strncmp(p, "bcm2712", len) == 0)
|
||||
{
|
||||
platform_name = "bcm2712";
|
||||
break;
|
||||
}
|
||||
|
||||
compatible_len -= (p - compatible);
|
||||
compatible = p;
|
||||
|
||||
Reference in New Issue
Block a user