diff --git a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c index dfccd78b73..fa186f5aca 100644 --- a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c +++ b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c @@ -238,5 +238,7 @@ void board_crashdump(uintptr_t currentsp, void *tcb, exit: #if defined(CONFIG_CXD56_RESET_ON_CRASH) board_reset_on_crash(); +#else + return; #endif }