[PATCH] commands: cpuinfo: Add Cortex-A55 information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alexander Shiyan <eagle.alexander923@xxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux