summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-01 08:12:31 -0600
committerTom Rini <[email protected]>2026-05-01 08:12:31 -0600
commitbb0f3eebb3c196d9b6efbbd1e5aa9b16abbb9ad6 (patch)
treed79d178cc3b66267ed0558f53bfc6ca200136826 /arch
parent21d842d4e538f93fd9d0e3f8905b26b17256d409 (diff)
parent4c8d2a633ed22e90c6b1954b10b0f74fd678cb23 (diff)
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi
Apologies for the delay, but please pull those sunxi changes into v2026.07. Nothing earth shattering, mostly minor improvements like better SPL power LED support, and fixes to some H616 DRAM setup. Also some more forward looking enhancement for the SPI code. I also pulled in Richard's raw NAND flash improvements for the H6/H616 SoC, though this lacks proper peer testing due to the lack of mainline support for any board actually employing those chips.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-sunxi/Kconfig11
-rw-r--r--arch/arm/mach-sunxi/dram_sun50i_h616.c2
2 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 89f0e77bcdb..ceba96b61a5 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -151,7 +151,6 @@ config DRAM_SUNXI_TPR3
config DRAM_SUNXI_TPR6
hex "DRAM TPR6 parameter"
- default 0x3300c080
help
TPR6 value from vendor DRAM settings.
@@ -1245,15 +1244,17 @@ config SPL_SUNXI_LED_STATUS
if SPL_SUNXI_LED_STATUS
-config SPL_SUNXI_LED_STATUS_BIT
+config SPL_SUNXI_LED_STATUS_GPIO
int "GPIO number for GPIO status LED"
help
GPIO number for the GPIO controlling the GPIO status LED in SPL.
-config SPL_SUNXI_LED_STATUS_STATE
- bool "GPIO status LED initial state is on"
+config SPL_SUNXI_LED_STATUS_ACTIVE_HIGH
+ bool "GPIO status LED is active high"
+ default y
help
- Whether the initial state of the status LED in SPL must be on or off.
+ Whether the GPIO of the status LED must be set high or low to turn
+ the LED on.
endif # SPL_SUNXI_LED_STATUS
diff --git a/arch/arm/mach-sunxi/dram_sun50i_h616.c b/arch/arm/mach-sunxi/dram_sun50i_h616.c
index 3345c9b8e82..42a0550e015 100644
--- a/arch/arm/mach-sunxi/dram_sun50i_h616.c
+++ b/arch/arm/mach-sunxi/dram_sun50i_h616.c
@@ -975,7 +975,7 @@ static bool mctl_phy_init(const struct dram_para *para,
val = para->tpr6 & 0xff;
break;
case SUNXI_DRAM_TYPE_LPDDR3:
- val = para->tpr6 >> 8 & 0xff;
+ val = para->tpr6 >> 16 & 0xff;
break;
case SUNXI_DRAM_TYPE_LPDDR4:
val = para->tpr6 >> 24 & 0xff;