diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-03-31 16:56:51 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-05-22 09:43:48 +0200 |
commit | 4cb2b07402a111cf38fa8f6ade5e68d270aee0d8 (patch) | |
tree | 274940d29a94fbfb8dc1fe53be6f46ae179b947d /bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h | |
parent | bsp/imxrt: Update support library from mcux-sdk (diff) | |
download | rtems-4cb2b07402a111cf38fa8f6ade5e68d270aee0d8.tar.bz2 |
bsps/imxrt: (Re-)Apply RTEMS patches to new lib
Reapply patches used in the old version of the NXP library and apply
patches necessary for the new version of the library.
Diffstat (limited to 'bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h')
-rw-r--r-- | bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h b/bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h index 38d5d1833e..5f81090890 100644 --- a/bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h +++ b/bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h @@ -10,9 +10,11 @@ #include <stdint.h> #include "fsl_common.h" +#ifndef __rtems__ #ifndef BOARD_FLASH_SIZE #include "board.h" #endif +#endif /* __rtems__ */ /*! @name Driver version */ /*@{*/ @@ -108,11 +110,13 @@ typedef struct _boot_data_ #define FLASH_BASE FlexSPI_AMBA_BASE #endif +#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 */ |