[PATCH RFC 6/9] arm: meson: spl: add support for SPL DRAM init
Neil Armstrong
neil.armstrong at linaro.org
Mon Sep 8 10:27:38 CEST 2025
On 07/09/2025 16:36, Ferass El Hafidi wrote:
> Supports both GXBB and GXL SoCs.
>
> Signed-off-by: Ferass El Hafidi <funderscore at postmarketos.org>
> ---
> arch/arm/include/asm/arch-meson/dram-gx.h | 341 +++++++++++++++++
> arch/arm/include/asm/arch-meson/dram-gxbb.h | 168 +++++++++
> arch/arm/include/asm/arch-meson/dram-gxl.h | 193 ++++++++++
> arch/arm/include/asm/arch-meson/dram-settings-gx.h | 296 +++++++++++++++
> arch/arm/include/asm/arch-meson/dram-timings-gx.h | 117 ++++++
> arch/arm/mach-meson/Kconfig | 70 ++++
> arch/arm/mach-meson/Makefile | 3 +
> arch/arm/mach-meson/dram-gx.c | 419 +++++++++++++++++++++
> arch/arm/mach-meson/dram-gxbb.c | 174 +++++++++
> arch/arm/mach-meson/dram-gxl.c | 167 ++++++++
> 10 files changed, 1948 insertions(+)
>
<snip>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
I guess we can't do better for now, Amlogic BL2 has more logic to detect the memory banks but those could be added later on.
Neil
More information about the U-Boot
mailing list