ARMv7: Identify A5 on boot.
authorDavid Cock <david.cock@inf.ethz.ch>
Fri, 2 Sep 2016 11:13:57 +0000 (13:13 +0200)
committerDavid Cock <david.cock@inf.ethz.ch>
Fri, 2 Sep 2016 11:13:57 +0000 (13:13 +0200)
Signed-off-by: David Cock <david.cock@inf.ethz.ch>

kernel/arch/armv7/boot_driver.c

index 6f2e6e2..c116589 100644 (file)
@@ -72,6 +72,9 @@ check_cpuid(void) {
         case cpuid_arm_impl_arm:
             printf("ARM ");
             switch(cpuid_arm_midr_part_extract((uint8_t *)&midr)) {
+                case cpuid_arm_part_a5:
+                    printf("Cortex-A5 ");
+                    break;
                 case cpuid_arm_part_a7:
                     printf("Cortex-A7 ");
                     break;