Re: [PATCH RFC 6/9] arm: meson: spl: add support for SPL DRAM init
Neil Armstrong <[email protected]> Mon, 8 Sep 2025 10:27:38 +0200
| Newsgroups | io.groups.u-boot-amlogic,org.u-boot-project.lists.u-boot |
|---|---|
| Organization | Linaro |
| Message-ID | <[email protected]> |
On 07/09/2025 16:36, Ferass El Hafidi wrote: > Supports both GXBB and GXL SoCs. > > Signed-off-by: Ferass El Hafidi <[email protected]> > --- > 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 <[email protected]> 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