aboutsummaryrefslogtreecommitdiff
path: root/board/emk/common/flash.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-12-30 23:53:09 -0500
committerKumar Gala2012-01-11 13:59:03 -0600
commit5f4c6f0db930646e9ca3b479b5fe9b8d2691fa77 (patch)
treebb94ee814876d3c499f7cba59d2f0a4ef865610f /board/emk/common/flash.c
parentf0aec4ea3301f7db3a691ec0cbb5230e99cceb34 (diff)
sbc8548: Fix LBC SDRAM initialization settings
These were cloned from the mpc8548cds platform which has a different memory layout (1/2 the size). Set the values by comparing to the register file for the board used during JTAG init sequence: LSDMR1 0x2863B727 /* PCHALL */ LSDMR2 0x0863B727 /* NORMAL */ LSDMR3 0x1863B727 /* MRW */ LSDMR4 0x4063B727 /* RFEN */ This differs from what was there already in that the RFEN is not bundled in all four steps implicitly, but issued once as the final step. The other difference seen when comparing vs. the register file init, is that since the memory is split across /CS3 and /CS4, the dummy writes need to go to 0xf000_0000 _and_ to 0xf400_0000. We also rewrite the final LBC SDRAM inits as macros, as there is no real need for them to be a local variable that is modified on the fly at runtime. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/emk/common/flash.c')
0 files changed, 0 insertions, 0 deletions