There is no really generic way to configure the S3C2440 CPU with fits to all
possible baseboards. This patch separates things into the CPU card related and
baseboard related things. This ensures to be able to configure things for
each possible baseboard without modifying/patching the main card source.
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
The generic A9M2440 comes in many SDRAM variantes. Two GPIO pins describing
the populated SDRAM devices. This patch adds some code to query the setting
and setup a correct SDRAM configuration out of four possible variants.
Due to the lack of hardware the 16 MiB and 128 MiB case is untested yet.
Due to the 32 MiB configuration we must link the u-boot-v2 always to
address 0x31fc0000. Even for the 64 MiB and 128 MiB configuration.
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
The generic A9M2440 comes with a CS8900 network controller at chip select 5.
There are custom specific variants available without this device, but this
case will be handled in a separate baseboard file.
The current Linux-2.6.31 CS8900 network driver is a very poor piece of
code. It needs some patches to also work with this platform. So, I add
two kernel parameters to be able to use this network device also in the NFS
rootfs case (to setup media and MAC).
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
The generic A9M2440 comes in many variantes. Mostly with different SDRAM
and NAND populations. This patch reflects and describes these variants.
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>