[U-Boot] [PATCH V2 1/2] powerpc/mpc85xx: Add clear_ddr_tlbs function

Wolfgang Denk wd at denx.de
Mon Jul 25 13:11:36 CEST 2011


Dear Becky Bruce,

In message <13110329572704-git-send-email-beckyb at kernel.crashing.org> you wrote:
> This is useful when we just want to wipe out the TLBs.  There's
> currently a function that resets the ddr tlbs to a different value;
> it is changed to utilize this function.  The new function can be
> used in conjunction with setup_ddr_tlbs() for a board to
> temporarily map/unmap the DDR address range as needed.
> 
> Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
> ---
>  arch/powerpc/cpu/mpc85xx/cpu.c |   14 +++-----------
>  arch/powerpc/cpu/mpc85xx/tlb.c |   29 +++++++++++++++++++++++++++++
>  arch/powerpc/include/asm/mmu.h |    1 +
>  3 files changed, 33 insertions(+), 11 deletions(-)

Tested on TQM8555 / TQM8560.

Tested-by: Wolfgang Denk <wd at denx.de>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offence.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5


More information about the U-Boot mailing list