mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 19:31:12 +00:00
fuse: remove fuse counting, bit count will be used instead
This commit is contained in:
parent
8058d550ab
commit
ce6926c36c
2 changed files with 0 additions and 13 deletions
|
@ -121,18 +121,6 @@ u32 fuse_read_hw_type()
|
||||||
return FUSE_NX_HW_TYPE_ICOSA;
|
return FUSE_NX_HW_TYPE_ICOSA;
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 fuse_count_burnt(u32 val)
|
|
||||||
{
|
|
||||||
u8 burnt_fuses = 0;
|
|
||||||
for (u32 i = 0; i < 32; i++)
|
|
||||||
{
|
|
||||||
if ((val >> i) & 1)
|
|
||||||
burnt_fuses++;
|
|
||||||
}
|
|
||||||
|
|
||||||
return burnt_fuses;
|
|
||||||
}
|
|
||||||
|
|
||||||
void fuse_wait_idle()
|
void fuse_wait_idle()
|
||||||
{
|
{
|
||||||
u32 ctrl;
|
u32 ctrl;
|
||||||
|
|
|
@ -97,7 +97,6 @@ u32 fuse_read_odm_keygen_rev();
|
||||||
u32 fuse_read_dramid(bool raw_id);
|
u32 fuse_read_dramid(bool raw_id);
|
||||||
u32 fuse_read_hw_state();
|
u32 fuse_read_hw_state();
|
||||||
u32 fuse_read_hw_type();
|
u32 fuse_read_hw_type();
|
||||||
u8 fuse_count_burnt(u32 val);
|
|
||||||
void fuse_wait_idle();
|
void fuse_wait_idle();
|
||||||
int fuse_read_ipatch(void (*ipatch)(u32 offset, u32 value));
|
int fuse_read_ipatch(void (*ipatch)(u32 offset, u32 value));
|
||||||
int fuse_read_evp_thunk(u32 *iram_evp_thunks, u32 *iram_evp_thunks_len);
|
int fuse_read_evp_thunk(u32 *iram_evp_thunks, u32 *iram_evp_thunks_len);
|
||||||
|
|
Loading…
Reference in a new issue