Skip to content

PPC4xx: Use common code for PPC440EPx SDRAM support

Larry Johnson u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PPC4xx: Use common code for Sequoia board SDRAM supportboard/amcc/sequoia/sdram.c+6 -3380 replies
2/4PPC4xx: Remove sdram.h from board/amcc/sequoiaboard/amcc/sequoia/sdram.h+0 -5050 replies
3/4PPC4xx: Use common code for LWMON5 board SDRAM supportboard/lwmon5/sdram.c+20 -3370 replies
4/4PPC4xx: Remove sdram.h from board/lwmon5board/lwmon5/sdram.h+0 -5050 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/4] PPC4xx: Use common code for PPC440EPx SDRAM support
 board/amcc/sequoia/sdram.c |  344 +-----------------------------
 board/amcc/sequoia/sdram.h |  505 --------------------------------------------
 board/lwmon5/sdram.c       |  357 ++-----------------------------
 board/lwmon5/sdram.h       |  505 --------------------------------------------
 4 files changed, 26 insertions(+), 1685 deletions(-)

These four patches replace board-specific code for Denali-core SDRAM support with common definitions and functions. Please note:

(1) The changes to "board/amcc/sequoia/sdram.c" break the build for "sequoia_nand".

(2) The changes to "board/lwmon5/sdram.c" seem reasonable, but I have no board on which to test them. If you decide to use them, please test them first. I have modified the functionality so that the data-eye search is now done with with the cache disabled, as in the Denali SPD code.

Best regards,
Larry