[U-Boot] [PATCH] fsl/deepsleep: avoid the DDR restore from being optimized out

York Sun yorksun at freescale.com
Tue May 5 18:36:45 CEST 2015



On 04/19/2015 08:16 PM, Yuantian.Tang at freescale.com wrote:
> From: Tang Yuantian <Yuantian.Tang at freescale.com>
> 
> 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: Tang Yuantian <Yuantian.Tang at freescale.com>
> ---

Applied to u-boot-mpc85xx master. Awaiting upstream.

York



More information about the U-Boot mailing list