Skip to content
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

storage/stream: should use only flash driver public API #27487

Closed
nvlsianpu opened this issue Aug 11, 2020 · 0 comments · Fixed by #29846
Closed

storage/stream: should use only flash driver public API #27487

nvlsianpu opened this issue Aug 11, 2020 · 0 comments · Fixed by #29846
Assignees
Labels
Enhancement Changes/Updates/Additions to existing features

Comments

@nvlsianpu
Copy link
Collaborator

Is your enhancement proposal related to a problem? Please describe.
module is using flash driver implementation API call page_layout(fdev, &layout, &layout_size);
https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/storage/stream/stream_flash.c#L203

It should use public flash driver API instead, especially void flash_page_foreach(structdevice *dev, flash_page_cbcb, void *data) in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants