]> git.sur5r.net Git - u-boot/commit
powerpc/82xx: add SDRAM detection for km82xx
authorGerlando Falauto <gerlando.falauto@keymile.com>
Fri, 27 Jul 2012 05:16:38 +0000 (05:16 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 31 Jul 2012 20:36:31 +0000 (22:36 +0200)
commit3a532346fcf2aacc52351e3cb39f9c7a4850f70d
treead63cf6b4a91a48bd640e49541120dddcd75bf82
parent65c7f92313784e971bd688ea2ed3a8b1349c8d0a
powerpc/82xx: add SDRAM detection for km82xx

This patch adds SDRAM detection feature to km82xx boards.
To enable this feature, define CONFIG_SYS_SDRAM_LIST as the initializer
for an array of struct sdram_conf_s.
These structs will expose the bitfields within registers PSDMR and OR1 which
have to be different between configurations; common bitfields will be
defined, as usual, within CONFIG_SYS_PSDMR and CONFIG_SYS_OR1.
If CONFIG_SYS_SDRAM_LIST is not defined, then the usual behavior is retained.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
board/keymile/km82xx/km82xx.c