hos: Add secmon/warmboot base selection

This commit is contained in:
CTCaer
2020-06-14 14:00:07 +03:00
parent 3aa195943d
commit 9489eca487
5 changed files with 21 additions and 10 deletions

View File

@@ -133,6 +133,11 @@ static const pkg1_id_t _pkg1_ids[] = {
{ NULL } //End.
};
const pkg1_id_t *pkg1_get_latest()
{
return &_pkg1_ids[sizeof(_pkg1_ids) / sizeof(pkg1_id_t) - 2];
}
const pkg1_id_t *pkg1_identify(u8 *pkg1)
{
char build_date[15];