u-boot/arch/riscv/cpu/jh7110
Yanhong Wang 38d900b409 ram: starfive: Read memory size information from EEPROM
StarFive VisionFive 2 has two versions, 1.2A and 1.3B, each version of
DDR capacity includes 2G/4G/8G, a DT can not support multiple
capacities, so the capacity size information is recorded to EEPROM, when
DDR initialization required capacity size information is read from
EEPROM.

If there is no information in EEPROM, it is initialized with the default
size defined in DT.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-07-12 13:21:40 +08:00
..
cpu.c riscv: cpu: jh7110: Add support for jh7110 SoC 2023-04-20 16:08:44 +08:00
dram.c riscv: cpu: jh7110: Add support for jh7110 SoC 2023-04-20 16:08:44 +08:00
Kconfig riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC 2023-04-20 16:08:44 +08:00
Makefile riscv: cpu: jh7110: Add support for jh7110 SoC 2023-04-20 16:08:44 +08:00
spl.c ram: starfive: Read memory size information from EEPROM 2023-07-12 13:21:40 +08:00