@@ -115,7 +115,6 @@ static uint32_t Sect_Normal_NC; //non-shareable, non-executable, rw, domain 0,
115
115
static uint32_t Sect_Normal_Cod ; //outer & inner wb/wa, non-shareable, executable, ro, domain 0, base addr 0
116
116
static uint32_t Sect_Normal_RO ; //as Sect_Normal_Cod, but not executable
117
117
static uint32_t Sect_Normal_RW ; //as Sect_Normal_Cod, but writeable and not executable
118
- static uint32_t Sect_Normal_SH ; //as Sect_Normal_Cod, but writeable and shareable
119
118
static uint32_t Sect_Device_RO ; //device, non-shareable, non-executable, ro, domain 0, base addr 0
120
119
static uint32_t Sect_Device_RW ; //as Sect_Device_RO, but writeable
121
120
@@ -169,7 +168,6 @@ void create_translation_table(void)
169
168
section_device_ro (Sect_Device_RO , region );
170
169
section_device_rw (Sect_Device_RW , region );
171
170
section_normal_nc (Sect_Normal_NC , region );
172
- section_normal_sh (Sect_Normal_SH , region );
173
171
//Create descriptors for 64k pages
174
172
page64k_device_rw (Page_L1_64k , Page_64k_Device_RW , region );
175
173
//Create descriptors for 4k pages
@@ -192,7 +190,7 @@ void create_translation_table(void)
192
190
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_USER_AREA1 , 64 , Sect_Normal_RW );
193
191
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_SPI_IO0 , 64 , Sect_Normal_RO );
194
192
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_SPI_IO1 , 64 , Sect_Normal_RO );
195
- __TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_ONCHIP_SRAM_BASE , 10 , Sect_Normal_SH );
193
+ __TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_ONCHIP_SRAM_BASE , 10 , Sect_Normal_RW );
196
194
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_SPI_MIO_BASE , 1 , Sect_Device_RW );
197
195
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_BSC_BASE , 1 , Sect_Device_RW );
198
196
__TTSection (& Image$$TTB$$ZI$$Base , Renesas_RZ_A1_PERIPH_BASE0 , 3 , Sect_Device_RW );
@@ -203,13 +201,13 @@ void create_translation_table(void)
203
201
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )Image$$RO_DATA$$Base , RO_DATA_SIZE , Sect_Normal_RO );
204
202
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )Image$$VECTORS$$Base , VECTORS_SIZE , Sect_Normal_Cod );
205
203
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )Image$$RW_DATA$$Base , RW_DATA_SIZE , Sect_Normal_RW );
206
- __TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )Image$$ZI_DATA$$Base , ZI_DATA_SIZE , Sect_Normal_SH );
204
+ __TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )Image$$ZI_DATA$$Base , ZI_DATA_SIZE , Sect_Normal_RW );
207
205
#else
208
206
//Define Image
209
207
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )& Image$$RO_DATA$$Base , RO_DATA_SIZE , Sect_Normal_RO );
210
208
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )& Image$$VECTORS$$Base , VECTORS_SIZE , Sect_Normal_Cod );
211
209
__TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )& Image$$RW_DATA$$Base , RW_DATA_SIZE , Sect_Normal_RW );
212
- __TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )& Image$$ZI_DATA$$Base , ZI_DATA_SIZE , Sect_Normal_SH );
210
+ __TTSection (& Image$$TTB$$ZI$$Base , (uint32_t )& Image$$ZI_DATA$$Base , ZI_DATA_SIZE , Sect_Normal_RW );
213
211
#endif
214
212
215
213
#if defined( __CC_ARM )
0 commit comments