mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-06 08:17:06 +08:00

Updating the spi-qpic-snand driver with the latest patches sent upstream and remove custom patches. These patches add error handling fixes, use of right read location in read ops, removal of unused variable, ability to read user config and nand chip requirements, and support for 8bits ECC strength. Tested on: Gl.iNet GL-B3000 & Linksys MR5500, MX2000, MX5500, SPNMX56 Signed-off-by: George Moussalem <george.moussalem@outlook.com> Signed-off-by: Robert Marko <robimarko@gmail.com>
31 lines
746 B
Diff
31 lines
746 B
Diff
From: Gabor Juhos <j4g8y7@gmail.com>
|
|
Date: Thu, 24 Apr 2025 20:10:59 +0200
|
|
Subject: [PATCH] spi: spi-qpic-snand: remove unused 'wlen' member of
|
|
'struct qpic_spi_nand'
|
|
|
|
The 'wlen' member of the qpic_spi_nand structure is never used in the
|
|
code so remove that.
|
|
|
|
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
|
|
---
|
|
drivers/spi/spi-qpic-snand.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
---
|
|
base-commit: 9c32cda43eb78f78c73aee4aa344b777714e259b
|
|
change-id: 20250424-qpic-snand-remove-wlen-c0cef3801a7f
|
|
|
|
Best regards,
|
|
|
|
--- a/drivers/spi/spi-qpic-snand.c
|
|
+++ b/drivers/spi/spi-qpic-snand.c
|
|
@@ -116,7 +116,6 @@ struct qpic_spi_nand {
|
|
struct nand_ecc_engine ecc_eng;
|
|
u8 *data_buf;
|
|
u8 *oob_buf;
|
|
- u32 wlen;
|
|
__le32 addr1;
|
|
__le32 addr2;
|
|
__le32 cmd;
|