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

2015-05-05 Thread York Sun
On 04/19/2015 08:16 PM, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > 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

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

2015-04-19 Thread Yuantian.Tang
From: Tang Yuantian 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 add