drivers: memc_mcux_flexspi_is66wvq8m4: make addressShift unconditional
is66wvq8m4 PSRAM always requires the address to be left shifted by 5 bits, regardless of which FLEXSPI port it is on. Fix the addressShift assignment to be unconditional Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
5b4e4cfb04
commit
df18121526
|
@ -201,7 +201,7 @@ static int memc_flexspi_is66wvq8m4_init(const struct device *dev)
|
||||||
.flexspiRootClk = DT_INST_PROP(n, spi_max_frequency), \
|
.flexspiRootClk = DT_INST_PROP(n, spi_max_frequency), \
|
||||||
.isSck2Enabled = false, \
|
.isSck2Enabled = false, \
|
||||||
.flashSize = DT_INST_PROP(n, size) / 8 / KB(1), \
|
.flashSize = DT_INST_PROP(n, size) / 8 / KB(1), \
|
||||||
.addressShift = DT_INST_REG_ADDR(n) != 0, \
|
.addressShift = true, \
|
||||||
.CSIntervalUnit = \
|
.CSIntervalUnit = \
|
||||||
CS_INTERVAL_UNIT( \
|
CS_INTERVAL_UNIT( \
|
||||||
DT_INST_PROP(n, cs_interval_unit)), \
|
DT_INST_PROP(n, cs_interval_unit)), \
|
||||||
|
|
Loading…
Reference in New Issue