summaryrefslogtreecommitdiff
path: root/board/spc1920
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2007-01-09 16:02:48 +0100
committerMarkus Klotzbuecher <mk@pollux.denx.de>2007-01-09 16:02:48 +0100
commit67fea022fa957f59653b5238c7496f80a6b70432 (patch)
tree377f8a0f90e86ba745331db84d80cafc7dbc40dc /board/spc1920
parent8fc2102faa23593c80381437c09f7745a14deb40 (diff)
downloadu-boot-imx-67fea022fa957f59653b5238c7496f80a6b70432.zip
u-boot-imx-67fea022fa957f59653b5238c7496f80a6b70432.tar.gz
u-boot-imx-67fea022fa957f59653b5238c7496f80a6b70432.tar.bz2
SPC1920: cleanup memory contoller setup
Diffstat (limited to 'board/spc1920')
-rw-r--r--board/spc1920/hpi.c4
-rw-r--r--board/spc1920/spc1920.c11
2 files changed, 5 insertions, 10 deletions
diff --git a/board/spc1920/hpi.c b/board/spc1920/hpi.c
index 05dd8bd..3c36f79 100644
--- a/board/spc1920/hpi.c
+++ b/board/spc1920/hpi.c
@@ -148,8 +148,8 @@ int hpi_init(void)
udelay(100);
memctl->memc_mamr = CFG_MAMR;
- memctl->memc_or3 = CFG_OR3_PRELIM;
- memctl->memc_br3 = CFG_BR3_PRELIM;
+ memctl->memc_or3 = CFG_OR3;
+ memctl->memc_br3 = CFG_BR3;
/* reset dsp */
dsp_reset();
diff --git a/board/spc1920/spc1920.c b/board/spc1920/spc1920.c
index 06ec60e..1f5dcb5 100644
--- a/board/spc1920/spc1920.c
+++ b/board/spc1920/spc1920.c
@@ -175,14 +175,9 @@ long int initdram (int board_type)
/* initalize the DSP Host Port Interface */
hpi_init();
- /* PLD Setup */
- memctl->memc_or4 = CFG_OR4_PRELIM;
- memctl->memc_br4 = CFG_BR4_PRELIM;
- udelay(1000);
-
- /* PLD Setup */
- memctl->memc_or5 = CFG_OR5_PRELIM;
- memctl->memc_br5 = CFG_BR5_PRELIM;
+ /* FRAM Setup */
+ memctl->memc_or4 = CFG_OR4;
+ memctl->memc_br4 = CFG_BR4;
udelay(1000);
return (size_b0);