Skip to content
Snippets Groups Projects
Commit 3a532346 authored by Gerlando Falauto's avatar Gerlando Falauto Committed by Wolfgang Denk
Browse files

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: default avatarGerlando Falauto <gerlando.falauto@keymile.com>
parent 65c7f923
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment