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

ec: Assume ROM size is total flash size #101

Merged
merged 1 commit into from
Feb 16, 2024
Merged

ec: Assume ROM size is total flash size #101

merged 1 commit into from
Feb 16, 2024

Conversation

crawfxrd
Copy link
Member

Remove the hard-coded assumption that the EC is always 128K, as ITE chips can also be 256K (which Clevo has started using since addw4). Instead assume the ROM is correctly sized, which we do since system76/ec@0d83819a21f87 ("Pad binary file to total flash size") and proprietary firmware has always done.

Ref: #100
Ref: system76/ec#435

Remove the hard-coded assumption that the EC is always 128K, as ITE
chips can also be 256K (which Clevo has started using since addw4).
Instead assume the ROM is correctly sized, which we do since
system76/ec@0d83819a21f87 ("Pad binary file to total flash size") and
proprietary firmware has always done.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd requested review from jackpot51 and a team February 15, 2024 15:15
@crawfxrd crawfxrd marked this pull request as ready for review February 15, 2024 15:26
@crawfxrd crawfxrd merged commit 5fb9563 into master Feb 16, 2024
2 checks passed
@crawfxrd crawfxrd deleted the rom-size branch February 16, 2024 22:53
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.

None yet

3 participants