Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vesta
meta-vesta
Commits
23a810c7
Commit
23a810c7
authored
May 06, 2018
by
Suhas Kunnath
Browse files
[recipes-kernel] Added fix for Spansion flash chip erase and write
parent
b433beab
Changes
2
Hide whitespace changes
Inline
Side-by-side
recipes-kernel/linux/linux-fslc-imx.inc
View file @
23a810c7
...
...
@@ -28,6 +28,7 @@ SRC_URI += "file://defconfig \
file://patches/0001-nor-flash-fix.patch \
file://patches/0001-overlay-manager.patch \
file://patches/0001-backports-to-support-qcacld-v2.3.3-9377-driver.patch \
file://patches/0001-Added-fix-for-spansion-flash-chip.patch \
"
S
=
"${WORKDIR}/git"
...
...
recipes-kernel/linux/linux-fslc-imx/patches/0001-Added-fix-for-spansion-flash-chip.patch
0 → 100644
View file @
23a810c7
diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
index 09bc90f..51caa3c 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -594,10 +594,12 @@
static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd)
return SEQID_RDSR;
case SPINOR_OP_BE_4K:
case SPINOR_OP_SE:
+ case SPINOR_OP_SE_4B:
return SEQID_SE;
case SPINOR_OP_CHIP_ERASE:
return SEQID_CHIP_ERASE;
case SPINOR_OP_PP:
+ case SPINOR_OP_PP_4B:
return SEQID_PP;
case SPINOR_OP_RDID:
return SEQID_RDID;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment