Commit 84ac2b3
committed
include:securam: shift SECURAM for backup mode
In the ed48d7a commit, SECURAM was shifted by 0x800 to account
for ROM code in emulation mode, which is incorrect. When using
emulated OTP, the OTP packet is copied to the beginning of the
SECURAM memory section (starting at offset 0x800). This overwrites
BCP.EMUL and after a reset it will not be possible to boot again
(except for SD booting). In backup mode, if SECURAM is offset
from 0xe0000800, kernel->PM will overwrite BCP.EMUL when kernel is
loaded. so not only is it not necessary to shift SECURAM by 0x800,
but also not necessary to shift SECURAM by 0x800 in Linux PM.
Signed-off-by: Li Bin <bin.li@microchip.com>1 parent ed4e564 commit 84ac2b3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments