42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From 4f922b40c69cac16226a8e4540f678275e1480fd Mon Sep 17 00:00:00 2001
|
|
From: MattP <63603528+NumberOneGit@users.noreply.github.com>
|
|
Date: Mon, 5 May 2025 21:49:18 -0400
|
|
Subject: [PATCH 17/29] Add additional BCM2712 boards
|
|
|
|
---
|
|
.../BoardRevisionHelperLib/BoardRevisionHelperLib.c | 11 ++++++++++-
|
|
1 file changed, 10 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Platform/RaspberryPi/Library/BoardRevisionHelperLib/BoardRevisionHelperLib.c b/Platform/RaspberryPi/Library/BoardRevisionHelperLib/BoardRevisionHelperLib.c
|
|
index 032853aa..40143c5b 100644
|
|
--- a/Platform/RaspberryPi/Library/BoardRevisionHelperLib/BoardRevisionHelperLib.c
|
|
+++ b/Platform/RaspberryPi/Library/BoardRevisionHelperLib/BoardRevisionHelperLib.c
|
|
@@ -58,7 +58,10 @@ BoardRevisionGetModelFamily (
|
|
case 0x14: // Raspberry Pi Computer Module 4
|
|
return 4;
|
|
case 0x17: // Raspberry Pi 5 Model B
|
|
- return 5;
|
|
+ case 0x18: // Compute Module 5
|
|
+ case 0x19: // Raspberry Pi 500
|
|
+ case 0x1a: // Compute Module 5 Lite
|
|
+ return 5;
|
|
}
|
|
}
|
|
return 0;
|
|
@@ -106,6 +109,12 @@ BoardRevisionGetModelName (
|
|
return "Raspberry Pi Compute Module 4";
|
|
case 0x17:
|
|
return "Raspberry Pi 5 Model B";
|
|
+ case 0x18:
|
|
+ return "Raspberry Pi Compute Module 5";
|
|
+ case 0x19:
|
|
+ return "Raspberry Pi 500"
|
|
+ case 0x1a:
|
|
+ return "Raspberry Pi Compute Module 5 Lite"
|
|
}
|
|
}
|
|
return "Unknown Raspberry Pi Model";
|
|
--
|
|
2.51.2
|
|
|