dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST...
Change code from using now deprecated DT_<COMPAT>_<INSTANCE>_<PROP> defines to using DT_INST_<INSTANCE>_<COMPAT>_<PROP>. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
01e54a5472
commit
a2693975d7
206 changed files with 1480 additions and 1479 deletions
|
@ -25,11 +25,11 @@ static struct arc_mpu_region mpu_regions[] = {
|
|||
REGION_KERNEL_RAM_ATTR | REGION_DYNAMIC),
|
||||
#endif
|
||||
|
||||
#if DT_MMIO_SRAM_0_SIZE > 0
|
||||
#if DT_INST_0_MMIO_SRAM_SIZE > 0
|
||||
/* Region DDR RAM */
|
||||
MPU_REGION_ENTRY("DDR RAM",
|
||||
DT_MMIO_SRAM_0_BASE_ADDRESS,
|
||||
DT_MMIO_SRAM_0_SIZE,
|
||||
DT_INST_0_MMIO_SRAM_BASE_ADDRESS,
|
||||
DT_INST_0_MMIO_SRAM_SIZE,
|
||||
AUX_MPU_ATTR_KW | AUX_MPU_ATTR_KR | AUX_MPU_ATTR_UR |
|
||||
AUX_MPU_ATTR_KE | AUX_MPU_ATTR_UE | REGION_DYNAMIC),
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue