From 813f25ccc8091e677aaa392cb50c8ef31d8c9f23 Mon Sep 17 00:00:00 2001 From: oxmc7769 Date: Sun, 23 Mar 2025 04:25:24 -0700 Subject: [PATCH] Use proper ids --- sysdeps/linux/sysinfo.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/sysdeps/linux/sysinfo.c b/sysdeps/linux/sysinfo.c index ea2b2ed7..9efd3058 100644 --- a/sysdeps/linux/sysinfo.c +++ b/sysdeps/linux/sysinfo.c @@ -38,20 +38,9 @@ static const struct { unsigned int part; const char *model; } cpu_part_lookup[] = { - { 0xd0b, "Cortex-A78" }, - { 0xd0c, "Cortex-X1" }, - { 0xd40, "Neoverse-N1" }, - { 0xd41, "Cortex-A78AE" }, - { 0xd42, "Cortex-A710" }, - { 0xd44, "Cortex-X2" }, - { 0xd4a, "Neoverse-V1" }, - { 0xd4b, "Neoverse-N2" }, - { 0xd4c, "Cortex-A715" }, - { 0xd4d, "Cortex-X3" }, - { 0xd49, "Cortex-A520" }, - { 0xd4e, "Cortex-A720" }, - { 0xd4f, "Cortex-X4" }, - { 0xd08, "Cortex-A55" }, + { 0xd03, "Cortex-A53" }, // Raspberry Pi 3 (BCM2837) + { 0xd08, "Cortex-A72" }, // Raspberry Pi 4 (BCM2711) + { 0xd0b, "Cortex-A76" }, // Raspberry Pi 5 (BCM2712) { 0x0000, "Unknown" } // Default fallback };