summaryrefslogtreecommitdiff
path: root/board/ve8313
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 11:18:17 +0300
committerMario Six <mario.six@gdsys.cc>2019-05-21 08:52:33 +0300
commit42c9a494f1659db6043f980d5f4fdee86fdf9dfb (patch)
treef4a50f87cb3901f0a26b09caa843b48795419c74 /board/ve8313
parent133ec602846d28a7915a7b3149d05d1c8a270873 (diff)
downloadu-boot-42c9a494f1659db6043f980d5f4fdee86fdf9dfb.tar.xz
mpc83xx: Get rid of CONFIG_SYS_LBC_*
Except for one counter example, CONFIG_SYS_LBC_LBCR always has a value of either 0x00040000 or 0x00000000. CONFIG_SYS_LBC_MRTPR always has the value 0x20000000. CONFIG_SYS_LBC_LSDMR_{1,2,4,5} are not set for any mpc83xx board. CONFIG_SYS_LBC_LSRT is set by one board (to 0x32000000). To simplify the configuration files, hardcode the setting of these values for mpc83xx. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'board/ve8313')
-rw-r--r--board/ve8313/ve8313.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c
index f4148a21e3..1559ff210d 100644
--- a/board/ve8313/ve8313.c
+++ b/board/ve8313/ve8313.c
@@ -100,8 +100,8 @@ int dram_init(void)
msize = fixed_sdram();
/* Local Bus setup lbcr and mrtpr */
- out_be32(&lbc->lbcr, CONFIG_SYS_LBC_LBCR);
- out_be32(&lbc->mrtpr, CONFIG_SYS_LBC_MRTPR);
+ out_be32(&lbc->lbcr, 0x00040000);
+ out_be32(&lbc->mrtpr, 0x20000000);
sync();
/* return total bus SDRAM size(bytes) -- DDR */