Skip to content
Commit 054197ba authored by Martha M Stan's avatar Martha M Stan Committed by Wolfgang Denk
Browse files

mpc512x: Streamlined fixed_sdram() init sequence.



Signed-off-by: default avatarMartha M Stan <mmarx@silicontkx.com>

Minor cleanup:

Re-ordered default_mddrc_config[] to have matching indices.

This allows to use the same index "N" for source and target fields;
before, we had code like this

	out_be32(&im->mddrc.ddr_time_config2, mddrc_config[3]);

which always looked like a copy & paste error because 2 != 3.

Also, use NULL when meaning a null pointer.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 5e498dfa
Loading
Loading
Loading
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