diff options
Diffstat (limited to 'target/linux/layerscape/patches-5.4/817-spi-0005-spi-spi-nxp-fspi-Enable-the-Octal-Mode-in-MCR0.patch')
-rw-r--r-- | target/linux/layerscape/patches-5.4/817-spi-0005-spi-spi-nxp-fspi-Enable-the-Octal-Mode-in-MCR0.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-5.4/817-spi-0005-spi-spi-nxp-fspi-Enable-the-Octal-Mode-in-MCR0.patch b/target/linux/layerscape/patches-5.4/817-spi-0005-spi-spi-nxp-fspi-Enable-the-Octal-Mode-in-MCR0.patch new file mode 100644 index 0000000000..4f7f784b1e --- /dev/null +++ b/target/linux/layerscape/patches-5.4/817-spi-0005-spi-spi-nxp-fspi-Enable-the-Octal-Mode-in-MCR0.patch @@ -0,0 +1,26 @@ +From cfa4dd5aafd797de69eb7c450d1236ba456dc543 Mon Sep 17 00:00:00 2001 +From: Han Xu <han.xu@nxp.com> +Date: Wed, 30 Oct 2019 10:46:15 -0500 +Subject: [PATCH] spi: spi-nxp-fspi: Enable the Octal Mode in MCR0 + +Enable the octal combination mode in MCR0 + +Signed-off-by: Han Xu <han.xu@nxp.com> +--- + drivers/spi/spi-nxp-fspi.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +--- a/drivers/spi/spi-nxp-fspi.c ++++ b/drivers/spi/spi-nxp-fspi.c +@@ -913,8 +913,9 @@ static int nxp_fspi_default_setup(struct + fspi_writel(f, FSPI_DLLBCR_OVRDEN, base + FSPI_DLLBCR); + + /* enable module */ +- fspi_writel(f, FSPI_MCR0_AHB_TIMEOUT(0xFF) | FSPI_MCR0_IP_TIMEOUT(0xFF), +- base + FSPI_MCR0); ++ fspi_writel(f, FSPI_MCR0_AHB_TIMEOUT(0xFF) | ++ FSPI_MCR0_IP_TIMEOUT(0xFF) | (u32) FSPI_MCR0_OCTCOMB_EN, ++ base + FSPI_MCR0); + + /* + * Disable same device enable bit and configure all slave devices |