diff options
author | Bin Meng <bin.meng@windriver.com> | 2020-07-19 23:06:35 -0700 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-24 14:56:29 +0800 |
commit | ecb70bdb9f12b694e3a50895a759119b3fc27507 (patch) | |
tree | 485ffa28131bed87158d66b6533654c168294661 /drivers/spi/Kconfig | |
parent | 142dd57c5d971d3291e8896b5ecd7e878f97e1f1 (diff) |
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: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Leo Liang <ycliang@andestech.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions