-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add ondie and software ECC code to SPI NAND block device driver #15468
base: master
Are you sure you want to change the base?
Conversation
|
|
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.
We haven't accepted any feature PR for a while. This is adding new functionality to the component only. have to think this through.
@@ -237,6 +238,10 @@ class SPINANDBlockDevice : public mbed::BlockDevice { | |||
*/ | |||
virtual const char *get_type() const; | |||
|
|||
virtual bool is_bad_block(uint16_t blk_idx); |
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.
missing doxygen docs (line 243 as well)
@daniel-0723 We'd be interesting in accepting this PR over at https://github.com/mbed-ce/mbed-os ! It seems like a really useful thing to have. However, there are some questions and comments I have about it.
|
|
1 similar comment
|
Summary of changes
Add ondie and software ECC code to SPI NAND block device driver for using ondie ECC function of SPI NAND Flash like Macronix Flash MX31LF4GE4BC or external ECC.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
This driver is tested on DISCO_L4R9I. The flash on this board is MX31LF4GE4BC. You need to replace it with MX31LF4GE4BC.
mbedgt: test case summary: 19 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.2715403632
mbedgt: test suite report:
his driver is tested on DISCO_L4R9I. The flash on this board is MX31LF4GE4BC. You need to replace it with MX31LF4GE4BC.
mbedgt: test case summary: 19 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.2715403632
mbedgt: test suite report: