Skip to content
Commit ecb70bdb authored by Bin Meng's avatar Bin Meng Committed by Andes
Browse files

ram: sifive: Avoid using hardcoded ram base and size



At present the SiFive FU540 RAM driver uses hard-coded memory base
address and size to initialize the DDR controller. This may not be
true when this driver is used on another board based on FU540.

Update the driver to read the memory information from DT and use
that during the initialization.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarLeo Liang <ycliang@andestech.com>
Reviewed-by: default avatarPragnesh Patel <pragnesh.patel@sifive.com>
parent 142dd57c
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