diff options
author | Stefan Roese <sr@denx.de> | 2009-12-08 09:10:04 +0100 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2010-01-07 18:34:30 -0600 |
commit | 7693640acd5222f5a64e59ccf5e3bc511e8054b9 (patch) | |
tree | 573d27601746fa3c6d0c5bdfd0f92857caef3255 /lib_nios2/math.h | |
parent | 2e95004deb6e33e33bf1b8a92a38cd2115bac4c2 (diff) |
mpc83xx: spd_sdram.c: Disable memory controller before initializing
The memory controller could already be enabled, when spd_sdram() is
called. This could be the case for example, when the SDRAM is initialized
by the JTAG debugger.
The "sync" after the register access via the accessor function is
still needed, because the macro uses the sync before the real write
is done. So until not all accesses are converted to using accessor
functions, this sync still needs to be made "manually" here.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd.eu>
Acked-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'lib_nios2/math.h')
0 files changed, 0 insertions, 0 deletions