u-boot/arch/mips/mach-mtmips
Weijie Gao 9bf72ba6f6 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>
2021-01-24 21:39:26 +01:00
..
include/mach mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
mt7628 mips: mtmips: move mt7628 related Kconfig into mt7628 subdirectory 2021-01-24 21:39:26 +01:00
cpu.c mips: mtmips: fix dram size detection in dram_init 2021-01-24 21:39:26 +01:00
ddr_cal.c mips: mt76x8: ddr_cal: Correct dqs_find_min/max implementations 2020-04-27 20:30:13 +02:00
ddr_init.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig mips: mtmips: select SYSRESET for mt7628 only 2021-01-24 21:39:26 +01:00
Makefile mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00