u-boot/drivers/ram/starfive
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
..
ddrcsr_boot.c ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
ddrphy_start.c ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
ddrphy_train.c ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
ddrphy_utils.c ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
Kconfig ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
Makefile ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00
starfive_ddr.c ram: starfive: Read memory size information from EEPROM 2023-07-12 13:21:40 +08:00
starfive_ddr.h ram: starfive: add ddr driver 2023-04-20 16:08:44 +08:00