Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370636
b: refs/heads/master
c: d9cdeb8
h: refs/heads/master
v: v3
  • Loading branch information
Inderpal Singh authored and Kukjin Kim committed Apr 4, 2013
1 parent 40c8551 commit 35c15bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fa86dcfea3142522e8fd5f85fbbf79b84063cae
refs/heads/master: d9cdeb814fd6bb1b5eaa49c5848f10ba7acf992a
9 changes: 9 additions & 0 deletions trunk/arch/arm/plat-samsung/s5p-sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#include <asm/asm-offsets.h>
#include <asm/hardware/cache-l2x0.h>

#define CPU_MASK 0xff0ffff0
#define CPU_CORTEX_A9 0x410fc090

/*
* The following code is located into the .data section. This is to
* allow l2x0_regs_phys to be accessed with a relative load while we
Expand All @@ -51,6 +54,12 @@

ENTRY(s3c_cpu_resume)
#ifdef CONFIG_CACHE_L2X0
mrc p15, 0, r0, c0, c0, 0
ldr r1, =CPU_MASK
and r0, r0, r1
ldr r1, =CPU_CORTEX_A9
cmp r0, r1
bne resume_l2on
adr r0, l2x0_regs_phys
ldr r0, [r0]
ldr r1, [r0, #L2X0_R_PHY_BASE]
Expand Down

0 comments on commit 35c15bd

Please sign in to comment.