ppc4xx: Add SDRAM detection for PMC440 boards
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Wed, 30 Sep 2009 09:55:04 +0000 (11:55 +0200)
committerStefan Roese <sr@denx.de>
Fri, 2 Oct 2009 11:56:07 +0000 (13:56 +0200)
commit3b4bd2d75c4b3c1a4570f47ffaaed66f56a78ff4
tree9b664f63d834af9f5d4b34d93acb16801597c539
parentfb95169e39f2d03270bed552d27bbb02627a443e
ppc4xx: Add SDRAM detection for PMC440 boards

This patch adds support to detect the amount of DDR2 SDRAM
on PMC440 modules. Detection is done by probing through
a list of available and supported hardware configurations
from 1GByte down to 256MB.

The static TLB entry is replaced by dynamically created entries.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
board/esd/pmc440/init.S
board/esd/pmc440/sdram.c
include/configs/PMC440.h