On 07/09/2025 16:36, Ferass El Hafidi wrote:
Supports both GXBB and GXL SoCs.
Signed-off-by: Ferass El Hafidi <fundersc...@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.armstr...@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