[U-Boot] [PATCH 5/7] powerpc/82xx: add SDRAM detection for km82xx

Wolfgang Denk wd at denx.de
Tue Jul 31 22:31:07 CEST 2012


Dear Gerlando Falauto,

In message <1343402200-32020-6-git-send-email-gerlando.falauto at keymile.com> you wrote:
> 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 at keymile.com>
> ---
>  board/keymile/km82xx/km82xx.c |   51 +++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 49 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It is better to have tried and failed than to have  failed  to  try,
but the result's the same."                           - Mike Dennison


More information about the U-Boot mailing list