Tentative CPU select
authorAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 24 Aug 2016 15:27:38 +0000 (08:27 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 24 Aug 2016 15:27:38 +0000 (08:27 -0700)
arm_chainloader/start.s

index be2c95c..db929dd 100644 (file)
@@ -40,6 +40,10 @@ _start:
        nop\r
 \r
 L_all_cores_start:\r
+        /* check CPU id */\r
+        mrc p15, 0, r0, c0, c0, 5\r
+        ands r0, #0x03\r
+        bne L_deadloop\r
 \r
 L_core0:\r
        mov sp, #0x2000000\r
This page took 0.024223 seconds and 4 git commands to generate.