-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fel: sid: unify SID functions into fel_read_sid()
At the moment we have two functions reading the SID eFuses: fel_get_sid_root_key() to read the "root key" (the first 128 bits), and fel_get_sid() to read an arbitrary range. The latter does not use the MMIO register workaround on affected SoCs, while the former only reads that specific range of bits. Unify the two functions into one that combines the advantanges of both: we can read any range of eFuses, and it uses the MMIO register access method, if needed. Switch the users to use the new function. Signed-off-by: Andre Przywara <osp@andrep.de>
- Loading branch information
Showing
3 changed files
with
39 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters