Skip to content

Commit d0e4a04

Browse files
committed
drivers: memc_nxp_s32_qspi: change DT_REG_ADDR to DT_REG_ADDR_RAW
Following the commit f98fde0, DT_REG_ADDR now expands with a 'U' suffix as an unsigned value. However, for compatibility with IS_EQ, a raw value without any suffix is required. Therefore, this update is necessary. Signed-off-by: Cong Nguyen Huu <[email protected]>
1 parent eabef50 commit d0e4a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/memc/memc_nxp_s32_qspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ uint8_t memc_nxp_s32_qspi_get_instance(const struct device *dev)
138138
))
139139

140140
#define QSPI_PORT_SIZE_FN(node_id, side_upper, port) \
141-
COND_CODE_1(IS_EQ(DT_REG_ADDR(node_id), QSPI_PCSF##side_upper##port), \
141+
COND_CODE_1(IS_EQ(DT_REG_ADDR_RAW(node_id), QSPI_PCSF##side_upper##port), \
142142
(COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(node_id), \
143143
(.memSize##side_upper##port = DT_PROP(node_id, size) / 8,), \
144144
(.memSize##side_upper##port = 0,))), \

0 commit comments

Comments
 (0)