mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] commands: cpuinfo: Add Cortex-A55 information
Date: Tue,  2 Jul 2024 08:00:25 +0300	[thread overview]
Message-ID: <20240702050025.2059-1-eagle.alexander923@gmail.com> (raw)

Additionally, the indentation of spaces has been replaced by tabs.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 arch/arm/cpu/cpuinfo.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c
index 2d3fe2ac8d..ce5f010975 100644
--- a/arch/arm/cpu/cpuinfo.c
+++ b/arch/arm/cpu/cpuinfo.c
@@ -21,14 +21,15 @@
 #define CPU_ARCH_ARMv7		9
 #define CPU_ARCH_ARMv8		10
 
-#define ARM_CPU_PART_CORTEX_A5      0xC050
-#define ARM_CPU_PART_CORTEX_A7      0xC070
-#define ARM_CPU_PART_CORTEX_A8      0xC080
-#define ARM_CPU_PART_CORTEX_A9      0xC090
-#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
+#define ARM_CPU_PART_CORTEX_A5	0xC050
+#define ARM_CPU_PART_CORTEX_A7	0xC070
+#define ARM_CPU_PART_CORTEX_A8	0xC080
+#define ARM_CPU_PART_CORTEX_A9	0xC090
+#define ARM_CPU_PART_CORTEX_A15	0xC0F0
+#define ARM_CPU_PART_CORTEX_A53	0xD030
+#define ARM_CPU_PART_CORTEX_A55	0xD050
+#define ARM_CPU_PART_CORTEX_A57	0xD070
+#define ARM_CPU_PART_CORTEX_A72	0xD080
 
 static void decode_cache(unsigned long size)
 {
@@ -229,6 +230,9 @@ static int do_cpuinfo(int argc, char *argv[])
 		case ARM_CPU_PART_CORTEX_A53:
 			part = "Cortex-A53";
 			break;
+		case ARM_CPU_PART_CORTEX_A55:
+			part = "Cortex-A55";
+			break;
 		case ARM_CPU_PART_CORTEX_A57:
 			part = "Cortex-A57";
 			break;
-- 
2.39.1




             reply	other threads:[~2024-07-02  5:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02  5:00 Alexander Shiyan [this message]
2024-07-02  6:34 ` 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20240702050025.2059-1-eagle.alexander923@gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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