|
124 | 124 | * Note: Further documentation of these definitions can be found in the |
125 | 125 | * TF-M PS Integration Guide. |
126 | 126 | */ |
127 | | -#define PS_FLASH_DEV_NAME Driver_FLASH0 |
| 127 | +#define TFM_HAL_PS_FLASH_DRIVER Driver_FLASH0 |
128 | 128 |
|
129 | 129 | /* In this target the CMSIS driver requires only the offset from the base |
130 | 130 | * address instead of the full memory address. |
131 | 131 | */ |
132 | | -#define PS_FLASH_AREA_ADDR FLASH_PS_AREA_OFFSET |
| 132 | +#define TFM_HAL_PS_FLASH_AREA_ADDR FLASH_PS_AREA_OFFSET |
133 | 133 | /* Dedicated flash area for PS */ |
134 | | -#define PS_FLASH_AREA_SIZE FLASH_PS_AREA_SIZE |
| 134 | +#define TFM_HAL_PS_FLASH_AREA_SIZE FLASH_PS_AREA_SIZE |
135 | 135 | #define PS_SECTOR_SIZE FLASH_AREA_IMAGE_SECTOR_SIZE |
136 | 136 | /* Number of PS_SECTOR_SIZE per block */ |
137 | | -#define PS_SECTORS_PER_BLOCK (0x1) |
| 137 | +#define TFM_HAL_PS_SECTORS_PER_BLOCK (0x1) |
138 | 138 | /* Specifies the smallest flash programmable unit in bytes */ |
139 | | -#define PS_FLASH_PROGRAM_UNIT (0x4) |
| 139 | +#define TFM_HAL_PS_PROGRAM_UNIT (0x4) |
140 | 140 |
|
141 | 141 | /* Internal Trusted Storage (ITS) Service definitions |
142 | 142 | * Note: Further documentation of these definitions can be found in the |
143 | 143 | * TF-M ITS Integration Guide. The ITS should be in the internal flash, but is |
144 | 144 | * allocated in the external flash just for development platforms that don't |
145 | 145 | * have internal flash available. |
146 | 146 | */ |
147 | | -#define ITS_FLASH_DEV_NAME Driver_FLASH0 |
| 147 | +#define TFM_HAL_ITS_FLASH_DRIVER Driver_FLASH0 |
148 | 148 |
|
149 | 149 | /* In this target the CMSIS driver requires only the offset from the base |
150 | 150 | * address instead of the full memory address. |
151 | 151 | */ |
152 | | -#define ITS_FLASH_AREA_ADDR FLASH_ITS_AREA_OFFSET |
| 152 | +#define TFM_HAL_ITS_FLASH_AREA_ADDR FLASH_ITS_AREA_OFFSET |
153 | 153 | /* Dedicated flash area for ITS */ |
154 | | -#define ITS_FLASH_AREA_SIZE FLASH_ITS_AREA_SIZE |
| 154 | +#define TFM_HAL_ITS_FLASH_AREA_SIZE FLASH_ITS_AREA_SIZE |
155 | 155 | #define ITS_SECTOR_SIZE FLASH_AREA_IMAGE_SECTOR_SIZE |
156 | 156 | /* Number of ITS_SECTOR_SIZE per block */ |
157 | | -#define ITS_SECTORS_PER_BLOCK (0x1) |
| 157 | +#define TFM_HAL_ITS_SECTORS_PER_BLOCK (0x1) |
158 | 158 | /* Specifies the smallest flash programmable unit in bytes */ |
159 | | -#define ITS_FLASH_PROGRAM_UNIT (0x4) |
| 159 | +#define TFM_HAL_ITS_PROGRAM_UNIT (0x4) |
160 | 160 |
|
161 | 161 | /* NV Counters definitions */ |
162 | 162 | #define TFM_NV_COUNTERS_AREA_ADDR FLASH_NV_COUNTERS_AREA_OFFSET |
|
0 commit comments