From: York Sun Date: Mon, 13 Dec 2010 22:42:05 -0800 Subject: [U-Boot] [PATCH 05/10] Adding more registers and options In-Reply-To: <018C5181-1987-4EE2-8283-2A3D5F370D39@kernel.crashing.org> References: <1291863340-4354-1-git-send-email-yorksun@freescale.com> <1291863340-4354-5-git-send-email-yorksun@freescale.com> <37243949-6DAD-41C5-B3AC-01539826E375@kernel.crashing.org> <1292308249.11009.113.camel@oslab-l1> <018C5181-1987-4EE2-8283-2A3D5F370D39@kernel.crashing.org> Message-ID: <1292308925.11009.130.camel@oslab-l1> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2010-12-14 at 00:37 -0600, Kumar Gala wrote: > On Dec 14, 2010, at 12:30 AM, York Sun wrote: > > > On Mon, 2010-12-13 at 23:10 -0600, Kumar Gala wrote: > >> On Dec 8, 2010, at 8:55 PM, York Sun wrote: > >> > >>> Add writing to cdr1, cdr2, err_disable, err_int_en and debug registers > >>> Add options to override rcw, address parity to RDIMMs. > >>> Use array for debug registeres. > >>> > >>> Signed-off-by: York Sun > >>> --- > >>> arch/powerpc/cpu/mpc85xx/ddr-gen3.c | 10 ++++++++-- > >>> arch/powerpc/include/asm/fsl_ddr_sdram.h | 12 ++++++++++++ > >>> arch/powerpc/include/asm/immap_85xx.h | 19 +------------------ > >>> 3 files changed, 21 insertions(+), 20 deletions(-) > >> > >> this probably breaks boards. Did you do a build all on 85xx and 86xx? > > > > No, I didn't try on other boards. The registers have default value of 0, > > which shouldn't hurt. > > > > York > > > > Its not that, I think we fail to even compile. > > For example: > > [galak at right u-boot]$ git grep debug_ board/tqc/ > board/tqc/tqm85xx/sdram.c: ddr->debug_3 |= 0x00000400; > board/tqc/tqm85xx/sdram.c: ddr->debug_3 &= ~0x00000400; > board/tqc/tqm85xx/sdram.c: ddr->debug_2 |= 0x00000400; > board/tqc/tqm85xx/sdram.c: while (ddr->debug_2 & 0x00000400) > You are right. I didn't think there are other boards out of freescale folder. Do you want to me revert back to debug_x or change all of them to debug[x]? York