mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <>
Cc: Ahmad Fatoum <>
Subject: [PATCH 2/2] ARM: cpuinfo: detect Cortex-A72
Date: Fri,  3 Jun 2022 09:24:36 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Both the Raspberry Pi 4 as well as the already supported LS1046A feature
a Cortex-A72. Let the cpuinfo command correctly name these cores.

Signed-off-by: Ahmad Fatoum <>
 arch/arm/cpu/cpuinfo.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c
index 5dce34536efc..8a92432e904f 100644
--- a/arch/arm/cpu/cpuinfo.c
+++ b/arch/arm/cpu/cpuinfo.c
@@ -27,6 +27,7 @@
 #define ARM_CPU_PART_CORTEX_A15     0xC0F0
 #define ARM_CPU_PART_CORTEX_A53	    0xD030
 #define ARM_CPU_PART_CORTEX_A57	    0xD070
+#define ARM_CPU_PART_CORTEX_A72	    0xD080
 static void decode_cache(unsigned long size)
@@ -216,6 +217,9 @@ static int do_cpuinfo(int argc, char *argv[])
 			part = "Cortex-A57";
+			part = "Cortex-A72";
+			break;
 			printf("core: unknown (0x%08lx) r%up%u\n",
 			       mainid, major, minor);

barebox mailing list

  reply	other threads:[~2022-06-03  7:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03  7:24 [PATCH 1/2] ARM: cpuinfo: print CPU mainid if unknown Ahmad Fatoum
2022-06-03  7:24 ` Ahmad Fatoum [this message]
2022-06-07  7:07 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox