soc: arm: qemu_cortex_a53: Convert to new DT_INST macros
Convert older DT_INST_ macro use the new include/devicetree.h DT_INST macro APIs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ff1eb62864
commit
b68039f0ed
1 changed files with 4 additions and 4 deletions
|
@ -12,13 +12,13 @@
|
|||
static const struct arm_mmu_region mmu_regions[] = {
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("GIC",
|
||||
DT_INST_0_ARM_GIC_BASE_ADDRESS_0,
|
||||
DT_INST_0_ARM_GIC_SIZE_0 * 2,
|
||||
DT_REG_ADDR_BY_IDX(DT_INST(0, arm_gic), 0),
|
||||
DT_REG_SIZE_BY_IDX(DT_INST(0, arm_gic), 0) * 2,
|
||||
MT_DEVICE_nGnRnE | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("UART",
|
||||
DT_INST_0_ARM_PL011_BASE_ADDRESS,
|
||||
DT_INST_0_ARM_PL011_SIZE,
|
||||
DT_REG_ADDR(DT_INST(0, arm_pl011)),
|
||||
DT_REG_SIZE(DT_INST(0, arm_pl011)),
|
||||
MT_DEVICE_nGnRnE | MT_RW | MT_SECURE),
|
||||
|
||||
MMU_REGION_FLAT_ENTRY("SRAM",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue