Skip to content
Commit 38d900b4 authored by Yanhong Wang's avatar Yanhong Wang Committed by Leo Yu-Chi Liang
Browse files

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: default avatarYanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent 99f3a43d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment