From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 5 May 2015 09:36:45 -0700 Subject: [U-Boot] [PATCH] fsl/deepsleep: avoid the DDR restore from being optimized out In-Reply-To: <1429499816-30238-1-git-send-email-Yuantian.Tang@freescale.com> References: <1429499816-30238-1-git-send-email-Yuantian.Tang@freescale.com> Message-ID: <5548F19D.20606@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/19/2015 08:16 PM, Yuantian.Tang at 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, we restore the space from high address, > which is not at 0x0, to low address. > > Signed-off-by: Tang Yuantian > --- Applied to u-boot-mpc85xx master. Awaiting upstream. York