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:
Daniel DeGrasse 2024-10-15 19:25:27 +00:00 committed by Anas Nashif
parent 5b4e4cfb04
commit df18121526
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static int memc_flexspi_is66wvq8m4_init(const struct device *dev)
.flexspiRootClk = DT_INST_PROP(n, spi_max_frequency), \
.isSck2Enabled = false, \
.flashSize = DT_INST_PROP(n, size) / 8 / KB(1), \
.addressShift = DT_INST_REG_ADDR(n) != 0, \
.addressShift = true, \
.CSIntervalUnit = \
CS_INTERVAL_UNIT( \
DT_INST_PROP(n, cs_interval_unit)), \