drivers: memc_nxp_s32_qspi: change DT_REG_ADDR to DT_REG_ADDR_RAW
Following the commit f98fde07b3, 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 <cong.nguyenhuu@nxp.com>
This commit is contained in:
parent
516e5d61c6
commit
a0d07078f0
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ uint8_t memc_nxp_s32_qspi_get_instance(const struct device *dev)
|
|||
))
|
||||
|
||||
#define QSPI_PORT_SIZE_FN(node_id, side_upper, port) \
|
||||
COND_CODE_1(IS_EQ(DT_REG_ADDR(node_id), QSPI_PCSF##side_upper##port), \
|
||||
COND_CODE_1(IS_EQ(DT_REG_ADDR_RAW(node_id), QSPI_PCSF##side_upper##port), \
|
||||
(COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(node_id), \
|
||||
(.memSize##side_upper##port = DT_PROP(node_id, size) / 8,), \
|
||||
(.memSize##side_upper##port = 0,))), \
|
||||
|
|
|
|||
Loading…
Reference in a new issue