public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL
@ 2023-11-04 21:47 Fabio Estevam
  2023-11-04 21:47 ` [PATCH 2/2] pico-pi-imx6ul: Convert to watchdog driver model Fabio Estevam
  2023-12-12 16:14 ` [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-11-04 21:47 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

The conversion to DM_SERIAL is mandatory, so select this option.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 configs/pico-pi-imx6ul_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/pico-pi-imx6ul_defconfig b/configs/pico-pi-imx6ul_defconfig
index 1eee1e6c2ff5..3af968d55128 100644
--- a/configs/pico-pi-imx6ul_defconfig
+++ b/configs/pico-pi-imx6ul_defconfig
@@ -70,6 +70,7 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_PFUZE100=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
-- 
2.34.1


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

* [PATCH 2/2] pico-pi-imx6ul: Convert to watchdog driver model
  2023-11-04 21:47 [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam
@ 2023-11-04 21:47 ` Fabio Estevam
  2023-12-12 16:14 ` [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-11-04 21:47 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused
the 'reset' command in U-Boot to not cause a board reset.
    
Fix it by switching to the watchdog driver model via sysreset, which
is the preferred method for implementing the watchdog reset.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 configs/pico-pi-imx6ul_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/pico-pi-imx6ul_defconfig b/configs/pico-pi-imx6ul_defconfig
index 3af968d55128..604a213e1ea4 100644
--- a/configs/pico-pi-imx6ul_defconfig
+++ b/configs/pico-pi-imx6ul_defconfig
@@ -72,6 +72,8 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
 CONFIG_USB_MAX_CONTROLLER_COUNT=2
@@ -82,3 +84,4 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_SPL_USB_SDP_SUPPORT=y
+CONFIG_IMX_WATCHDOG=y
-- 
2.34.1


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

* Re: [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL
  2023-11-04 21:47 [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam
  2023-11-04 21:47 ` [PATCH 2/2] pico-pi-imx6ul: Convert to watchdog driver model Fabio Estevam
@ 2023-12-12 16:14 ` Fabio Estevam
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-12-12 16:14 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

On Sat, Nov 4, 2023 at 6:47 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <festevam@denx.de>
>
> The conversion to DM_SERIAL is mandatory, so select this option.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks.

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

end of thread, other threads:[~2023-12-12 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-04 21:47 [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam
2023-11-04 21:47 ` [PATCH 2/2] pico-pi-imx6ul: Convert to watchdog driver model Fabio Estevam
2023-12-12 16:14 ` [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox