@ -36,12 +36,11 @@
OMAP3 4 3 0 _ P M _ P R E P W S T S T )
# define P M _ P R E P W S T S T _ M P U _ V O M A P 3 4 X X _ P R M _ R E G A D D R ( M P U _ M O D , \
OMAP3 4 3 0 _ P M _ P R E P W S T S T )
# define P M _ P W S T C T R L _ M P U _ P O M A P 3 4 X X _ P R M _ R E G A D D R ( M P U _ M O D , P M _ P W S T C T R L )
# define P M _ P W S T C T R L _ M P U _ P O M A P 3 4 3 0 _ P R M _ B A S E + M P U _ M O D + P M _ P W S T C T R L
# define S C R A T C H P A D _ M E M _ O F F S 0 x31 0 / * M o v e t h i s a s c o r r e c t p l a c e i s
* available * /
# define S C R A T C H P A D _ B A S E _ P O M A P 3 4 3 X _ C T R L _ R E G A D D R ( \
OMAP3 4 3 X _ C O N T R O L _ M E M _ W K U P + \
SCRATCHPAD_ M E M _ O F F S )
# define S C R A T C H P A D _ B A S E _ P ( O M A P 3 4 3 X _ C T R L _ B A S E + O M A P 3 4 3 X _ C O N T R O L _ M E M _ W K U P \
+ SCRATCHPAD_ M E M _ O F F S )
# define S D R C _ P O W E R _ V O M A P 3 4 X X _ S D R C _ R E G A D D R ( S D R C _ P O W E R )
.text
@ -96,7 +95,7 @@ loop:
ldmfd s p ! , { r0 - r12 , p c } @ restore regs and return
restore :
/* b restore*/ @ Enable to debug restore code
/* b restore*/ @ Enable to debug restore code
/* Check what was the reason for mpu reset and store the reason in r9*/
/* 1 - Only L1 and logic lost */
/* 2 - Only L2 lost - In this case, we wont be here */
@ -416,8 +415,6 @@ scratchpad_base:
.word SCRATCHPAD_BASE_P
sdrc_power :
.word SDRC_POWER_V
context_mem :
.word 0x803E3E14
clk_stabilize_delay :
.word 0x000001FF
assoc_mask :