hos: improve warmboot config

Add more checks, simplify it and allow it to be called on non-HOS code.
This commit is contained in:
CTCaer committed 2022-10-11 08:53:46 +03:00
1 parent e455fe043f
commit a6d0bf54cd
3 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ int pkg1_decrypt(const pkg1_id_t *id, u8 *pkg1);
const u8 *pkg1_unpack(void *wm_dst, u32 *wb_sz, void *sm_dst, void *ldr_dst, const pkg1_id_t *id, u8 *pkg1);
void pkg1_secmon_patch(void *hos_ctxt, u32 secmon_base, bool t210b01);
void pkg1_warmboot_patch(void *hos_ctxt);
int pkg1_warmboot_config(void *hos_ctxt, u32 warmboot_base);
int pkg1_warmboot_config(void *hos_ctxt, u32 warmboot_base, u32 fuses_fw, u8 kb);
void pkg1_warmboot_rsa_mod(u32 warmboot_base);
#endif