]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling
authorGrant Erickson <gerickson@nuovations.com>
Thu, 22 May 2008 21:44:24 +0000 (14:44 -0700)
committerStefan Roese <sr@denx.de>
Tue, 3 Jun 2008 18:21:20 +0000 (20:21 +0200)
commit8a24c07ba5da2c72ad1f05e3eb8a463750200c98
tree7ac23429134e6127a77977a5f19a729de9d5ec03
parentc821b5f120bedf73867513466412587c6912a8f8
ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling

This patch (Part 2 of 2):

* Rolls up a suite of changes to enable correct primordial stack and
  global data handling when the data cache is used for such a purpose
  for PPC40x-variants (i.e. CFG_INIT_DCACHE_CS).

* Related to the first, unifies DDR2 SDRAM and ECC initialization by
  eliminating redundant ECC initialization implementations and moving
  redundant SDRAM initialization out of board code into shared 4xx
  code.

* Enables MCSR visibility on the 405EX(r).

* Enables the use of the data cache for initial RAM on
  both AMCC's Kilauea and Makalu and removes a redundant
  CFG_POST_MEMORY flag from each board's CONFIG_POST value.

  - Removed, per Stefan Roese's request, defunct memory.c file for
    Makalu and rolled sdram_init from it into makalu.c.

With respect to the 4xx DDR initialization and ECC unification, there
is certainly more work that can and should be done (file renaming,
etc.). However, that can be handled at a later date on a second or
third pass. As it stands, this patch moves things forward in an
incremental yet positive way for those platforms that utilize this
code and the features associated with it.

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
board/amcc/kilauea/init.S
board/amcc/kilauea/memory.c
board/amcc/makalu/Makefile
board/amcc/makalu/init.S
board/amcc/makalu/makalu.c
board/amcc/makalu/memory.c [deleted file]
include/configs/kilauea.h
include/configs/makalu.h