[U-Boot] [PATCH 05/10] Adding more registers and options

Kumar Gala galak at kernel.crashing.org
Tue Dec 14 07:37:22 CET 2010


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 <yorksun at freescale.com>
>>> ---
>>> 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)

- k


More information about the U-Boot mailing list