summaryrefslogtreecommitdiff
path: root/board/ids
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:18:17 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:52:33 +0200
commit42c9a494f1659db6043f980d5f4fdee86fdf9dfb (patch)
treef4a50f87cb3901f0a26b09caa843b48795419c74 /board/ids
parent133ec602846d28a7915a7b3149d05d1c8a270873 (diff)
downloadu-boot-42c9a494f1659db6043f980d5f4fdee86fdf9dfb.tar.gz
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/ids')
-rw-r--r--board/ids/ids8313/ids8313.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c
index a66234aa85..caa36064f0 100644
--- a/board/ids/ids8313/ids8313.c
+++ b/board/ids/ids8313/ids8313.c
@@ -129,8 +129,8 @@ int dram_init(void)
msize = setup_sdram();
- out_be32(&lbc->lbcr, CONFIG_SYS_LBC_LBCR);
- out_be32(&lbc->mrtpr, CONFIG_SYS_LBC_MRTPR);
+ out_be32(&lbc->lbcr, (0x00040000 | (0xFF << LBCR_BMT_SHIFT) | 0xF));
+ out_be32(&lbc->mrtpr, 0x20000000);
sync();
gd->ram_size = msize;