On Mon, Jan 20, 2025 at 12:29:20PM +0800, Huan Zhou wrote:
> [EXTERNAL MAIL]
> 
> Implement functionality to probe and calculate the DRAM size
> during the boot phase for the RISC-V spacemit K1 platform.
> 
> Tested-by: Marcel Ziswiler <mar...@ziswiler.com> # BPI-F3 16G
> Signed-off-by: Huan Zhou <m...@per1cycle.org>
> ---
> This patch introduce improvement for get dram size on spacemit k1 platform,
> retrieving the dram size dynamically.
> Have tested on Licheepi LPI3A 8G[1].
> 
> Links:
> [1] https://gist.github.com/per1cycle/e4eab66ebb6f83fe5118e823367fce28 .
> 
> Changes in v5:
> - Fix the dummy typo.
> - Link to v4: 
> https://lore.kernel.org/r/20250120-get-dram-size-v4-1-e74103e36...@per1cycle.org
> 
> Changes in v4:
> - shorten the commit message.
> - More proper way for `map_format_size` -> `ddr_map_size`
> - Link to v3: 
> https://lore.kernel.org/r/20250114-get-dram-size-v3-1-83d5f8815...@per1cycle.org
> 
> Changes in v3:
> - Remove the inline attr in arch/riscv/cpu/k1/dram.c map_format_size().
> - Add detailed commit message.
> - Link to v2: 
> https://lore.kernel.org/r/20250114-get-dram-size-v2-1-aba5a281e...@per1cycle.org
> 
> Changes in v2:
> - Fix bracker and return type in map_format_size() function.
> - Add test log in the cover letter..
> - Link to v1: 
> https://lore.kernel.org/r/20250108-get-dram-size-v1-1-4bae32ecf...@per1cycle.org
> ---
>  arch/riscv/cpu/k1/dram.c | 40 ++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 38 insertions(+), 2 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>

Reply via email to