This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit ba4648b43760de0a48322d34588314d17e86da1b
Author: alexcekay <[email protected]>
AuthorDate: Tue Nov 3 13:41:36 2026 +0100

    arch/arm/imx9: Remove FlexSPI CONFIG_IMX9_FLEXSPI guard
    
    imx9_flexspi.c is only compiled when CONFIG_IMX9_FLEXSPI is enabled
    (Make.defs and CMakeLists.txt), so the guard around the file is not
    needed.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: alexcekay <[email protected]>
---
 arch/arm/src/imx9/imx9_flexspi.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/src/imx9/imx9_flexspi.c b/arch/arm/src/imx9/imx9_flexspi.c
index 4022845dd58..e5e38bc8414 100644
--- a/arch/arm/src/imx9/imx9_flexspi.c
+++ b/arch/arm/src/imx9/imx9_flexspi.c
@@ -54,8 +54,6 @@
 #include "hardware/imx9_flexspi.h"
 #include "hardware/imx9_pinmux.h"
 
-#ifdef CONFIG_IMX9_FLEXSPI
-
 /****************************************************************************
  * Private Types
  ****************************************************************************/
@@ -1255,5 +1253,3 @@ struct flexspi_dev_s *imx9_flexspi_initialize(int intf)
 
   return &priv->flexspi;
 }
-
-#endif /* CONFIG_IMX9_FLEXSPI */

Reply via email to