[U-Boot] [PATCH 0/3] powerpc/85xx: Fix TQM8560 DDR boot issue

Becky Bruce beckyb at kernel.crashing.org
Sat Jul 16 00:25:36 CEST 2011


Series to fix the TQM85xx issue reported by Wolfgang.... the problem
turned out to be that those boards use get_ram_size(), which requires
that a TLB entry be set up for the DDR region.  My earlier patches
changed the way this was done and broke this.

I've created a new function, clear_ddr_tlbs(), so that there is now a
setup_ddr_tlbs() and a matching clear_ddr_tlbs() that boards can use
if they need to temporarily set up a TLB entry for this purpose.  The
tqm85xx ddr init code now uses this and the board is able to boot.

There is also a cleanup patch to the TQM header file to make it easier
to read - I added code that is dependent on this so it's included
in this series.

Cheers,
Becky

 arch/powerpc/cpu/mpc85xx/cpu.c |   14 +++-----------
 arch/powerpc/cpu/mpc85xx/tlb.c |   29 +++++++++++++++++++++++++++++
 arch/powerpc/include/asm/mmu.h |    1 +
 board/tqc/tqm85xx/sdram.c      |    7 +++++++
 include/configs/TQM85xx.h      |    9 ++++++++-
 5 files changed, 48 insertions(+), 12 deletions(-)






More information about the U-Boot mailing list