
3 Nov
2020
3 Nov
'20
8:42 a.m.
If CONFIG_RAM is enabled, use the ram device to get the base/size of memory. This provides an easy way for boards/cpus to hook into the dram_init logic, without needing to provide a second SYS_CPU.
Signed-off-by: Sean Anderson seanga2@gmail.com
(no changes since v1)
arch/riscv/cpu/generic/dram.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
Reviewed-by: Rick Chen rick@andestech.com