diff options
| author | Bernard Xiong <[email protected]> | 2020-06-04 11:04:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-04 11:04:05 +0800 |
| commit | 1b60cdaefbb17c5b2a569b357bd45bfc47cd66cc (patch) | |
| tree | 0639c925ca91511d5890024359923a912e8c71fd /libcpu | |
| parent | 6a1c9f3222246072064c551735378c355cb0b758 (diff) | |
| parent | 266716a959348dea4ce182555e27b890bf9e6e29 (diff) | |
Merge pull request #3650 from bigmagic123/fix_raspi2
fix raspi bsp
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/cortex-a/start_gcc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S index a8f3a36630..2e99db7218 100644 --- a/libcpu/arm/cortex-a/start_gcc.S +++ b/libcpu/arm/cortex-a/start_gcc.S @@ -62,7 +62,7 @@ _reset: b continue overHyped: /* Get out of HYP mode */ - ldr r1, =continue + adr r1, continue msr ELR_hyp, r1 mrs r1, cpsr_all and r1, r1, #0x1f ;@ CPSR_MODE_MASK |
