[PATCH v2 12/16] riscv: Probe ram in dram_init

Rick Chen rickchen36 at gmail.com
Tue Nov 3 08:42:03 CET 2020


> 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 at gmail.com>
> ---
>
> (no changes since v1)
>
>  arch/riscv/cpu/generic/dram.c | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list