diff options
author | Ye Li <ye.li@nxp.com> | 2018-10-25 01:37:52 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-10-29 00:19:06 -0700 |
commit | e92d831e5b1e149b23aeb1774c57d076ac246b1e (patch) | |
tree | 1e19eb70bb4b8bebabc83187fee3ad2225ea71bb /drivers | |
parent | 0b3d77197c537a280e82f8a1e2e7e93f6430d8f6 (diff) |
MLK-20107 fspi: Keep the module enabled after probe
In flexspi driver, each sf command will disable the module in release bus
function. So reading from flexspi memory-map address using "md" command
can't work. When iMX8MM kicks M4 image to run flexspi NOR XIP,
this causes problem.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/fsl_fspi.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/spi/fsl_fspi.c b/drivers/spi/fsl_fspi.c index 05ec99f431..b8d9282ad0 100644 --- a/drivers/spi/fsl_fspi.c +++ b/drivers/spi/fsl_fspi.c @@ -1334,21 +1334,11 @@ static int fsl_fspi_claim_bus(struct udevice *dev) priv->cur_amba_base = priv->amba_base[0] + FSL_FSPI_FLASH_SIZE * slave_plat->cs; - fspi_module_disable(priv, 0); - return 0; } static int fsl_fspi_release_bus(struct udevice *dev) { - struct fsl_fspi_priv *priv; - struct udevice *bus; - - bus = dev->parent; - priv = dev_get_priv(bus); - - fspi_module_disable(priv, 1); - return 0; } |