diff options
Diffstat (limited to 'bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h')
-rw-r--r-- | bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h b/bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h index 4870dfb4dc..7b256f6670 100644 --- a/bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h +++ b/bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h @@ -105,11 +105,13 @@ typedef struct _boot_data_ { uint32_t placeholder; /* placehoder to make even 0x10 size */ }BOOT_DATA_T; +#ifndef __rtems__ #if defined(BOARD_FLASH_SIZE) #define FLASH_SIZE BOARD_FLASH_SIZE #else #error "Please define macro BOARD_FLASH_SIZE" #endif +#endif /* __rtems__ */ #define PLUGIN_FLAG (uint32_t)0 /* External Variables */ |