[U-Boot-Users] [PATCH] ppc4xx: Don't use last 256 bytes of SDRAM, workaround for 440EPx CHIP 11 errata

Stefan Roese
2008-03-20T14:11:24Z

On Thursday 20 March 2008, Dave Littell wrote:
> This may not be the "better, more generic solution", but I just added a
> CONFIG_CHIP_11_ERRATA option and code in lib_ppc/board.c to trim off
> only 256 bytes before the optional log buffer is carved out.

OK. I'll submit a similar patch in a short while. Please give it a try and let
me know if you see problems with it.

> There's a kernel patch for this errata that trims the memory length. If
> that patch is applied, does the kernel still need to be made to
> understand the changed logbuffer location?

I don't think so. With my next patch it should not be necessary anymore. With
one exception: Linux kernel ports that have fixed memory sizes or calculate
the memory size from the SDRAM controller setup (as done in some arch/powerpc
kernels with bootwrapper support).

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================