loader/hekate/nyx: utilize the new rsvd cfg
This commit is contained in:
@@ -36,8 +36,6 @@ hekate_config h_cfg;
|
||||
const volatile ipl_ver_meta_t __attribute__((section ("._ipl_version"))) ipl_ver = {
|
||||
.magic = NYX_MAGIC,
|
||||
.version = (NYX_VER_MJ + '0') | ((NYX_VER_MN + '0') << 8) | ((NYX_VER_HF + '0') << 16) | ((NYX_VER_RL) << 24),
|
||||
.rsvd0 = 0,
|
||||
.rsvd1 = 0
|
||||
};
|
||||
|
||||
volatile nyx_storage_t *nyx_str = (nyx_storage_t *)NYX_STORAGE_ADDR;
|
||||
@@ -441,8 +439,13 @@ void nyx_init_load_res()
|
||||
nyx_str->info.sd_errors[i] = 0;
|
||||
}
|
||||
|
||||
// Reset new extended info if magic not correct.
|
||||
if (nyx_str->info_ex.magic != NYX_NEW_INFO)
|
||||
nyx_str->info_ex.rsvd_flags = 0;
|
||||
|
||||
// Clear info magic.
|
||||
nyx_str->info.magic = 0;
|
||||
nyx_str->info.magic = 0;
|
||||
nyx_str->info_ex.magic = 0;
|
||||
|
||||
// Set display id from previous initialization.
|
||||
display_set_decoded_panel_id(nyx_str->info.panel_id);
|
||||
|
||||
Reference in New Issue
Block a user