diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2020-11-12 16:35:33 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2021-01-24 21:39:26 +0100 |
commit | 9bf72ba6f68f7c96b0913bfc35ae423e9b1895d5 (patch) | |
tree | 3227e2a520fd625bed09cf2ab7eff23b5648a9ec /arch/mips/mach-mtmips/ddr_init.c | |
parent | 7fcc740ffefbf41c71147313ef6993368fd8ae84 (diff) |
mips: mtmips: fix dram size detection in dram_init
CONFIG_SYS_SDRAM_BASE points to cached memory, i.e. KSEG0, which is not
suitable for detecting memory size.
Replace CONFIG_SYS_SDRAM_BASE with KSEG1, and make dram_init() always do
memory size detection in any stage.
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/mips/mach-mtmips/ddr_init.c')
0 files changed, 0 insertions, 0 deletions