Skip to content

Commit df18121

Browse files
danieldegrassenashif
authored andcommitted
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 <[email protected]>
1 parent 5b4e4cf commit df18121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/memc/memc_mcux_flexspi_is66wvq8m4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static int memc_flexspi_is66wvq8m4_init(const struct device *dev)
201201
.flexspiRootClk = DT_INST_PROP(n, spi_max_frequency), \
202202
.isSck2Enabled = false, \
203203
.flashSize = DT_INST_PROP(n, size) / 8 / KB(1), \
204-
.addressShift = DT_INST_REG_ADDR(n) != 0, \
204+
.addressShift = true, \
205205
.CSIntervalUnit = \
206206
CS_INTERVAL_UNIT( \
207207
DT_INST_PROP(n, cs_interval_unit)), \

0 commit comments

Comments
 (0)