zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY
Change instances of: DT_NODE_HAS_STATUS(<node_id>, okay) to DT_NODE_HAS_STATUS_OKAY(<node_id>) Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
5aebd1276d
commit
52a202309b
180 changed files with 743 additions and 738 deletions
|
@ -28,15 +28,15 @@ static struct arm_mpu_region mpu_regions[] = {
|
|||
REGION_RAM_ATTR(CONFIG_SRAM_BASE_ADDRESS,
|
||||
CONFIG_SRAM_SIZE * 1024)),
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(usbhs), okay)
|
||||
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(usbhs))
|
||||
MPU_REGION_ENTRY("USBHS_CORE", USBHS_BASE,
|
||||
REGION_RAM_NOCACHE_ATTR(USBHS_BASE, USBHS_SIZE)),
|
||||
#endif
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(can120), okay)
|
||||
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(can120))
|
||||
MPU_REGION_ENTRY("CAN120_MCAN", CAN120_BASE,
|
||||
REGION_RAM_NOCACHE_ATTR(CAN120_BASE, CAN120_SIZE)),
|
||||
#endif
|
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(can121), okay)
|
||||
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(can121))
|
||||
MPU_REGION_ENTRY("CAN121_MCAN", CAN121_BASE,
|
||||
REGION_RAM_NOCACHE_ATTR(CAN121_BASE, CAN121_SIZE)),
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue