summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-28 08:08:16 -0600
committerTom Rini <[email protected]>2025-07-28 08:08:16 -0600
commit14dd807a48cfc3e7a4b106e228a6dc5b6c296d48 (patch)
treed4f749d516ca4a907123ccdb40ba246c13ee8885 /common
parent4c3b5fcd810081bd7f3c51859fe1b5f0c159803c (diff)
parent0199794b30431fbf52ef2607c950de233e45b19e (diff)
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi
These patches add support for the new Allwinner A523/A527/T527 SoC (all same die), alongside with defconfigs for three boards using one of those SoCs. The patches are the usual combination of refactoring (of the SPL clock code this time), tweaks to existing drivers to support peripherals in their A523 versions, and new drivers for pincontrol and clocks. A big chunk is of course the DRAM controller init routines, many thanks to Jernej and Mikhail for providing this code, after a big reverse engineering effort. Since the DTs for the three supported boards have been merged into the kernel repo recently, this is concluded by cherry-picks of those patches, and the defconfig files to finally enable booting those boards. The patches have been sitting around for a while, and folks are already using them, so it's now time to get them into the tree. Gitlab CI passed, and I booted that briefly on those three boards, plus on some other SoCs to spot potential regressions.
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ac25fcea21d..ab05536bd02 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -80,7 +80,7 @@ config SPL_MAX_SIZE
default 0x1b000 if AM33XX && !TI_SECURE_DEVICE
default 0xec00 if OMAP34XX
default 0x10000 if ARCH_MX6 && !MX6_OCRAM_256KB
- default 0xbfa0 if MACH_SUN50I_H616 || MACH_SUN50I_A133
+ default 0xbfa0 if MACH_SUN50I_H616 || MACH_SUN50I_A133 || MACH_SUN55I_A523
default 0x7000 if RCAR_GEN3
default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0
default 0x7fa0 if ARCH_SUNXI
@@ -278,6 +278,7 @@ config SPL_TEXT_BASE
default 0x00912000 if ARCH_MX7
default 0x40301350 if OMAP54XX
default 0x10060 if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN9I
+ default 0x44060 if MACH_SUN55I_A523
default 0x20060 if SUN50I_GEN_H6 || SUNXI_GEN_NCAT2
default 0x00060 if ARCH_SUNXI
default 0xfffc0000 if ARCH_ZYNQMP
@@ -432,6 +433,7 @@ config SPL_STACK
default 0x118000 if MACH_SUN50I_H6
default 0x52a00 if MACH_SUN50I_H616
default 0x40000 if MACH_SUN8I_R528 || MACH_SUN50I_A133
+ default 0x44000 if MACH_SUN55I_A523
default 0x54000 if MACH_SUN50I || MACH_SUN50I_H5
default 0x18000 if MACH_SUN9I
default 0x8000 if ARCH_SUNXI