Re: [PATCH v3] riscv: spacemit: k1: probe dram size during boot phase.

2025-01-14 Thread Huan Zhou
On Tue, Jan 14, 2025 at 04:01:25PM +0800, Huan Zhou wrote: > Implement functionality to probe and calculate the DRAM size during the boot > phase for the RISC-V spacemit K1 platform. > The `map_format_size` function extracts the memory density from a given > value, while `ddr_get_density` aggrega

[PATCH v3] riscv: spacemit: k1: probe dram size during boot phase.

2025-01-14 Thread Huan Zhou
Implement functionality to probe and calculate the DRAM size during the boot phase for the RISC-V spacemit K1 platform. The `map_format_size` function extracts the memory density from a given value, while `ddr_get_density` aggregates the sizes of the memory chips. The `dram_init` function initial