From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tang Yuantian-B29983 Date: Mon, 24 Feb 2014 14:44:52 +0800 Subject: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support In-Reply-To: <1392664709.6733.627.camel@snotra.buserror.net> References: <1390716041-13541-2-git-send-email-Yuantian.Tang@freescale.com> <20140213004412.GA9660@home.buserror.net> <1392418747.6733.626.camel@snotra.buserror.net> <95751c79b09a4a15a7b4d577fd86ff3e@BL2PR03MB115.namprd03.prod.outlook.com> <1392664709.6733.627.camel@snotra.buserror.net> Message-ID: <530AEA64.5010606@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 2014/2/18 ??? 3:18, Scott Wood wrote: > On Sun, 2014-02-16 at 21:35 -0600, Tang Yuantian-B29983 wrote: >>> -----Original Message----- >>> From: Wood Scott-B07421 >>> To: Tang Yuantian-B29983 >>> Cc: Sun York-R58495; Li Yang-Leo-R58472; u-boot at lists.denx.de; Kushwaha >>> Prabhakar-B32579; Jin Zhengxiong-R64188 >>> Subject: Re: [U-Boot,2/3] mpc85xx: Add deep sleep framework support >>> >>> On Thu, 2014-02-13 at 02:12 -0600, Tang Yuantian-B29983 wrote: >>>>> Use an I/O accessor. >>>> In_be64?? No such function. >>> Why do you need in_be64() rather than two in_be32()s? >>> >> Avoid ECC error. Although, according to my test, in_be32() works too. > Why would you get an ECC error? > > -Scott DDR operation is always in 64bits. if writing a 32bits to memory, you need to read a 32bits first, and combine it to form a 64bits. when the new 64bits is written to memory, ECC occurs. I was required to do so by hardware team. Regards, Yuantian >