From df18121526c313f6628061ff694fbba6e9edda05 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Tue, 15 Oct 2024 19:25:27 +0000 Subject: [PATCH] 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 --- drivers/memc/memc_mcux_flexspi_is66wvq8m4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memc/memc_mcux_flexspi_is66wvq8m4.c b/drivers/memc/memc_mcux_flexspi_is66wvq8m4.c index 7ce698b3dd6..1a964b1454f 100644 --- a/drivers/memc/memc_mcux_flexspi_is66wvq8m4.c +++ b/drivers/memc/memc_mcux_flexspi_is66wvq8m4.c @@ -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)), \