drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros
Convert older DT_INST_ macro use in arm_cmsdk/arm drivers to the new include/devicetree.h DT_INST macro APIs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7bb5015ced
commit
ff1eb62864
10 changed files with 190 additions and 172 deletions
|
@ -23,8 +23,8 @@
|
|||
* GIC Register Interface Base Addresses
|
||||
*/
|
||||
|
||||
#define GIC_DIST_BASE DT_INST_0_ARM_GIC_BASE_ADDRESS_0
|
||||
#define GIC_CPU_BASE DT_INST_0_ARM_GIC_BASE_ADDRESS_1
|
||||
#define GIC_DIST_BASE DT_REG_ADDR_BY_IDX(DT_INST(0, arm_gic), 0)
|
||||
#define GIC_CPU_BASE DT_REG_ADDR_BY_IDX(DT_INST(0, arm_gic), 1)
|
||||
|
||||
/*
|
||||
* GIC Distributor Interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue