Skip to content
Commit 1a56fcea authored by Tang Yuantian's avatar Tang Yuantian Committed by York Sun
Browse files

fsl/deepsleep: avoid the DDR restore from being optimized out



Function dp_ddr_restore is to restore the first 128-byte space
of DDR. However those codes may be optimized out by compiler
since the destination address is at 0x0. In order to avoid
compiler optimization, we restore the space from high address,
which is not at 0x0, to low address.

Signed-off-by: default avatarTang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 438031e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment