-
Notifications
You must be signed in to change notification settings - Fork 5
DEV-7616: marvell_nand - revert to HW ECC layouts used in kernel 5.10 #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEV-7616: marvell_nand - revert to HW ECC layouts used in kernel 5.10 #54
Conversation
This reverts commit e6a30d0. It also removes the check in nand_base.c which fails for some layouts after revert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts a previous commit (e6a30d0) that modified Marvell NAND controller hardware ECC layouts, restoring the layouts used in kernel 5.10. Additionally, it removes a strict validation check in the NAND base driver that was causing failures with some of the reverted layouts.
- Reverts ECC layout parameters in the Marvell NAND driver to kernel 5.10 values
- Removes strict ECC parameter validation that was incompatible with the reverted layouts
- Changes error handling from fatal error to warning for ECC parameter mismatches
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| drivers/mtd/nand/raw/nand_base.c | Converts strict ECC parameter validation from fatal error to warning |
| drivers/mtd/nand/raw/marvell_nand.c | Reverts ECC layout parameters to kernel 5.10 values |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This reverts commit e6a30d0. It also removes the check in nand_base.c which fails for some layouts after revert.