-
Notifications
You must be signed in to change notification settings - Fork 1.5k
drivers/fs:Always use register_mtddriver() to register the MTD device (patch2) #16738
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
Conversation
abd7406 to
4bafe6a
Compare
4bafe6a to
76de6ea
Compare
d0e01f6 to
29e3905
Compare
29e3905 to
1734508
Compare
|
@xiaoxiang781216 it seems xtensa-01 of CI can not worked . I bought a esp32 board but still have no time for test, maybe in this weekend |
If the issue is nxlooper example, we are looking into. Fix is coming soon. |
@fdcavalcanti do you find the cause of xtensa ci break? |
|
@jingfei195887 can you rebase please? CI should pass now. |
yes. do it now! Thanks for the help |
… (patch2) This is a supplement to the patch:1936126210a56b6d1b033d6d940669413dd6e1b0 Due to the automatic wrapping of MTD devices during the open() process, the legacy registration methods ftl_initialize() and bchdev_register() are no longer required for MTD device registration for user code. So we have adjusted the registration method for MTD devices in nuttx/boards, replacing the previous approach using ftl_initialize() with register_mtddriver().
151c8bc to
93b0a7c
Compare
since ftl_initialize isn't used anymore after: apache#16642 apache#16738 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
since ftl_initialize isn't used anymore after: apache#16642 apache#16738 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
since ftl_initialize isn't used anymore after: apache#16642 apache#16738 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Summary
This is a supplement to the patch: drivers/fs:Always use register_mtddriver() to register the MTD device1936126210a56b6d1b033d6d940669413dd6e1b0
Due to the automatic wrapping of MTD devices during the open() process, the legacy registration methods
ftl_initialize()are no longer required for MTD device registration for user code .So I have adjusted the registration method for MTD devices in nuttx/boards, replacing the previous approach from using
ftl_initialize()toregister_mtddriver().