diff --git a/boards/intel/aerofc-v1/src/board_config.h b/boards/intel/aerofc-v1/src/board_config.h
index cc617f4668507ab41e09764ab87b14010c479a44..0fb14686c7d68a9af14e4eb01450afc5781ecaea 100644
--- a/boards/intel/aerofc-v1/src/board_config.h
+++ b/boards/intel/aerofc-v1/src/board_config.h
@@ -139,7 +139,7 @@
 
 #define MEMORY_CONSTRAINED_SYSTEM
 
-#define CRASHDUMP_RESET_ONLY
+#define BOARD_CRASHDUMP_RESET_ONLY
 
 __BEGIN_DECLS
 
diff --git a/src/drivers/boards/common/board_crashdump.c b/src/drivers/boards/common/board_crashdump.c
index b2c83405d9fbcfa63d24f908a1d660435af592de..afde200ce7a90e0ec4d1cd302a8d2d45cb0c07ec 100644
--- a/src/drivers/boards/common/board_crashdump.c
+++ b/src/drivers/boards/common/board_crashdump.c
@@ -194,7 +194,7 @@ static uint32_t *__attribute__((noinline)) __sdata_addr(void)
 
 __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint8_t *filename, int lineno)
 {
-#ifndef CRASHDUMP_RESET_ONLY
+#ifndef BOARD_CRASHDUMP_RESET_ONLY
 	/* We need a chunk of ram to save the complete context in.
 	 * Since we are going to reboot we will use &_sdata
 	 * which is the lowest memory and the amount we will save
@@ -334,7 +334,7 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint
 		up_lowputc('!');
 	}
 
-#endif /* CRASHDUMP_RESET_ONLY */
+#endif /* BOARD_CRASHDUMP_RESET_ONLY */
 
 #if defined(CONFIG_BOARD_RESET_ON_CRASH)
 	board_reset(0);