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

fel-lib: Fix parsing scratchpad field #216

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

jernejsk
Copy link
Contributor

@jernejsk jernejsk commented Feb 9, 2025

Field has 32 bits, not 16, as it is currently handled. This fixes scratchpad address print when using "sunxi-fel ver" command on A523. Before it printed "0x1500" and afterwards "0x61500", which makes much more sense and it was verified by BROM disassembly.

Field has 32 bits, not 16, as it is currently handled. This fixes
scratchpad address print when using "sunxi-fel ver" command on A523.
Before it printed "0x1500" and afterwards "0x61500", which makes much
more sense and it was verified by BROM disassembly.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Copy link
Contributor

@apritzel apritzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, it's a uint32_t anyway, and indeed there are more than 16 significant bits on the A523.

@apritzel apritzel merged commit e3f41d4 into linux-sunxi:master Feb 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants