backport to release/3.3: meterfs: adapt flashsrvs to meterfs changes#624
backport to release/3.3: meterfs: adapt flashsrvs to meterfs changes#624adamgreloch wants to merge 2 commits into
Conversation
JIRA: NIL-920 (cherry picked from commit 7f5db0e)
In upcoming meterfs changes, meterfs.h will include board_config.h. SPIMCTRL0_BASE and SPIMCTRL1_BASE may be defined by board_config.h (as is the case on sparcv8leon-gr716-mini), causing redefinition in spimctrl.h if board_config.h is included. JIRA: NIL-920 (cherry picked from commit 8bcaeeb)
Summary of ChangesHello @adamgreloch, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request backports essential meterfs related changes to the release/3.3 branch, ensuring compatibility and proper functionality of flash services with recent meterfs updates. The changes include improvements to hardware abstraction by allowing flexible SPIMCTRL base address definitions and enhancing the host-flashsrv module with explicit initialization and a new debug context setter, which collectively contribute to a more robust and maintainable system. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request backports changes to adapt flash services to meterfs modifications on the release/3.3 branch. The changes include making SPIM controller base addresses overridable, ensuring a static structure is explicitly initialized, and adding a debug context setting function. My review, guided by repository-specific rules, found no issues with the proposed changes.
|
please wait ~2 weeks until DTR release before merging. Was this change tested on DTR? (meterfs is used there for storing data from internal meter on NOR flash) - I'm especially wary of 2-step FW upgrade mechanism. |
|
Converting to draft as this solution is not safe for 2-step FW upgrade. Also, it's not urgent to backport this. |
JIRA: NIL-920
Description
Backports #617 to release 3.3 branch.
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment