Introduce symbolic names for present and present & authenticated

A preloaded app can be:

- present and not yet authenticated (0x01)
- present and authenticated (0x02)

Let's use symbolic names for these.
This commit is contained in:
Michael Cardell Widerkrantz 2025-03-13 16:36:54 +01:00
parent 980a3c84a1
commit c359a52905
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
3 changed files with 9 additions and 4 deletions

View file

@ -94,7 +94,7 @@ int preload_store_finalize(struct partition_table *part_table, bool use_uss,
part_table->pre_app_data.size = app_size;
part_table->pre_app_data.status =
0x02; /* Stored but not yet authenticated */
PRE_LOADED_STATUS_PRESENT; /* Stored but not yet authenticated */
debug_puts("preload_*_final: size: ");
debug_putinthex(app_size);
debug_lf();