File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,13 +80,15 @@ impl PdPort {
8080 | Platform :: Framework16Amd7080
8181 | Platform :: IntelCoreUltra1
8282 | Platform :: Framework13AmdAi300
83+ | Platform :: Framework12IntelGen13 ,
8384 PdPort :: Left01 ,
8485 ) => 1 ,
8586 (
8687 Platform :: Framework13Amd7080
8788 | Platform :: Framework16Amd7080
8889 | Platform :: IntelCoreUltra1
8990 | Platform :: Framework13AmdAi300
91+ | Platform :: Framework12IntelGen13 ,
9092 PdPort :: Right23 ,
9193 ) => 2 ,
9294 // TODO: It only has a single PD controller
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ pub fn has_mec() -> bool {
132132 | Platform :: Framework16Amd7080
133133 | Platform :: IntelCoreUltra1
134134 | Platform :: Framework13AmdAi300
135+ | Platform :: Framework12IntelGen13
135136 | Platform :: FrameworkDesktopAmdAiMax300
136137 )
137138}
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ pub fn get_platform() -> Option<Platform> {
265265 "Laptop 13 (AMD Ryzen 7040Series)" => Some ( Platform :: Framework13Amd7080 ) ,
266266 "Laptop 13 (AMD Ryzen 7040 Series)" => Some ( Platform :: Framework13Amd7080 ) ,
267267 "Laptop 13 (AMD Ryzen AI 300 Series)" => Some ( Platform :: Framework13AmdAi300 ) ,
268+ "Laptop 12 (13th Gen Intel Core)" => Some ( Platform :: Framework12IntelGen13 ) ,
268269 "Laptop 13 (Intel Core Ultra Series 1)" => Some ( Platform :: IntelCoreUltra1 ) ,
269270 "Laptop 16 (AMD Ryzen 7040 Series)" => Some ( Platform :: Framework16Amd7080 ) ,
270271 "Desktop (AMD Ryzen AI Max 300 Series)" => Some ( Platform :: FrameworkDesktopAmdAiMax300 ) ,
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ use crate::smbios;
1717
1818#[ derive( Debug , PartialEq , Clone , Copy ) ]
1919pub enum Platform {
20+ /// Framework 12
21+ Framework12IntelGen13 ,
2022 /// Framework 13 - Intel 11th Gen, Codenamed TigerLake
2123 IntelGen11 ,
2224 /// Framework 13 - Intel 11th Gen, Codenamed AlderLake
You can’t perform that action at this time.
0 commit comments