Another smaller update to the nand stack
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mtd: nand: Rename the nand_manufacturers structdrivers/ drivers/ include/ | +7 | 0 replies | |
| 2/5 | mtd: nand: change return type of nand_get_flash_type() to intdrivers/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 3/5 | mtd: nand: Rename nand_get_flash_type() into nand_detect()drivers/ drivers/ drivers/ +1 more | +9 | 0 replies | |
| 4/5 | mtd: nand: samsung: Retrieve ECC requirements from extendeddrivers/ | +20 | 0 replies | |
| 5/5 | configs: imx8mn_bsh_smm_s2: Use nand_base ident for nand identificationconfigs/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Another smaller update to the nand stack
Update the stack to move it slowly to linux with some improvements. We want to support more samsung variant and clean up a bit the code. This will be the last upstream changes for now until a quick review of spl code will be done to reduce duplication. I decided to move the imx8mn_bsh_smm_s2 board to use the full nand detect because onfi can easily fail on no-onfi, no-jedec nand. I take care to move the mt7621 to use nand_detect and ask gently to test it again
Series successfully tested on imx8mn bsh smm s2 with NAND:
- Macronix MX30LF4G18AC 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Michael Trimarchi (5):
mtd: nand: Rename the nand_manufacturers struct
mtd: nand: change return type of nand_get_flash_type() to int
mtd: nand: Rename nand_get_flash_type() into nand_detect()
mtd: nand: samsung: Retrieve ECC requirements from extended
configs: imx8mn_bsh_smm_s2: Use nand_base ident for nand
identification
configs/imx8mn_bsh_smm_s2_defconfig | 2 ++ drivers/mtd/nand/raw/mt7621_nand.c | 9 ++++--- drivers/mtd/nand/raw/mxs_nand_spl.c | 8 +++---- drivers/mtd/nand/raw/nand_base.c | 37 +++++++++++++---------------- drivers/mtd/nand/raw/nand_ids.c | 2 +- drivers/mtd/nand/raw/nand_samsung.c | 20 ++++++++++++++++ include/linux/mtd/rawnand.h | 13 +++++----- 7 files changed, 54 insertions(+), 37 deletions(-)
Signature · 1 line
2.34.1