All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sunxi: f1c100s: re-enable SYSRESET
@ 2023-01-05  2:04 Andre Przywara
  2023-01-14 20:30 ` Samuel Holland
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Przywara @ 2023-01-05  2:04 UTC (permalink / raw)
  To: Jagan Teki
  Cc: u-boot, Tom Rini, Icenowy Zheng, Giulio Benetti, Jesse Taube,
	linux-sunxi

The SoC .dtsi originally submitted for the Allwinner F1C100s had the
wrong compatible string for the watchdog, which broke U-Boot's reset
functionality. To quickly fix this, we disable CONFIG_SYSRESET in
cfcf1952c11e6ffcbbf88 ("sunxi: f1c100s: Drop SYSRESET to enable reset
functionality"), so that U-Boot's hardcoded reset driver could take over.

After this was properly fixed in the devicetree, we reverted that patch
in 92373de041ea ("Revert "sunxi: f1c100s: Drop SYSRESET to enable reset
functionality"), however this line sneaked back in with d0ee7f295d74
("Convert CONFIG_SYS_PBSIZE to Kconfig"), so during a Kconfig update.

Remove this line (again), to use the proper reset driver.

Fixes: d0ee7f295d74 ("Convert CONFIG_SYS_PBSIZE to Kconfig")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
Hi,

this is not critical (so nothing for 2023.01), reset works either way.
But we should fix it anyway.

Cheers,
Andre

 configs/licheepi_nano_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig
index 12a43c1ec10..b25c9ba77cc 100644
--- a/configs/licheepi_nano_defconfig
+++ b/configs/licheepi_nano_defconfig
@@ -10,4 +10,3 @@ CONFIG_SPL_SPI_SUNXI=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_XTX=y
 CONFIG_SPI=y
-# CONFIG_SYSRESET is not set
-- 
2.35.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sunxi: f1c100s: re-enable SYSRESET
  2023-01-05  2:04 [PATCH] sunxi: f1c100s: re-enable SYSRESET Andre Przywara
@ 2023-01-14 20:30 ` Samuel Holland
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Holland @ 2023-01-14 20:30 UTC (permalink / raw)
  To: Andre Przywara, Jagan Teki
  Cc: u-boot, Tom Rini, Icenowy Zheng, Giulio Benetti, Jesse Taube,
	linux-sunxi

On 1/4/23 20:04, Andre Przywara wrote:
> The SoC .dtsi originally submitted for the Allwinner F1C100s had the
> wrong compatible string for the watchdog, which broke U-Boot's reset
> functionality. To quickly fix this, we disable CONFIG_SYSRESET in
> cfcf1952c11e6ffcbbf88 ("sunxi: f1c100s: Drop SYSRESET to enable reset
> functionality"), so that U-Boot's hardcoded reset driver could take over.
> 
> After this was properly fixed in the devicetree, we reverted that patch
> in 92373de041ea ("Revert "sunxi: f1c100s: Drop SYSRESET to enable reset
> functionality"), however this line sneaked back in with d0ee7f295d74
> ("Convert CONFIG_SYS_PBSIZE to Kconfig"), so during a Kconfig update.
> 
> Remove this line (again), to use the proper reset driver.
> 
> Fixes: d0ee7f295d74 ("Convert CONFIG_SYS_PBSIZE to Kconfig")
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
> Hi,
> 
> this is not critical (so nothing for 2023.01), reset works either way.
> But we should fix it anyway.
> 
> Cheers,
> Andre
> 
>  configs/licheepi_nano_defconfig | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Samuel Holland <samuel@sholland.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-14 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05  2:04 [PATCH] sunxi: f1c100s: re-enable SYSRESET Andre Przywara
2023-01-14 20:30 ` Samuel Holland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.