From 46cc58751442030b601230e1d22886bf928aeb8d Mon Sep 17 00:00:00 2001 From: Jouni Ukkonen Date: Wed, 4 Dec 2024 09:37:49 +0200 Subject: [PATCH] nxp93: Do cold reset in reset type 2 Signed-off-by: Jouni Ukkonen --- .../nuttx/src/px4/nxp/imx9/board_reset/board_reset.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/platforms/nuttx/src/px4/nxp/imx9/board_reset/board_reset.cpp b/platforms/nuttx/src/px4/nxp/imx9/board_reset/board_reset.cpp index 5c4b5e8d4b65..32b90f23c926 100644 --- a/platforms/nuttx/src/px4/nxp/imx9/board_reset/board_reset.cpp +++ b/platforms/nuttx/src/px4/nxp/imx9/board_reset/board_reset.cpp @@ -53,15 +53,9 @@ static void board_reset_enter_bootloader() static void board_reset_enter_bootloader_and_continue_boot() { - /* Reset by triggering WDOG */ - - /* TODO */ - - _alert("WDOG reset Not implemented\n"); - - /* Wait for the reset */ + /* Reset the whole SoC */ - for (; ;); + up_systemreset(); } static void board_reset_enter_app()