bdk: minerva: remove dependency to Nyx storage

minerva_str_t must be used now and passed directly to minerva_init.
This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:51:46 +01:00
1 parent c0300b1cee
commit ac245a0b6f
3 files changed
+79 -84

No files matched your search

+8 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 CTCaer
* Copyright (c) 2019-2025 CTCaer
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -41,6 +41,12 @@ typedef struct
u32 init_done;
} mtc_config_t;
typedef struct
{
mtc_config_t mtc_cfg;
emc_table_t mtc_table[11]; // 10 + 1.
} minerva_str_t;
enum train_mode_t
{
OP_SWITCH = 0,
@@ -60,7 +66,7 @@ typedef enum
} minerva_freq_t;
extern void (*minerva_cfg)(mtc_config_t *mtc_cfg, void *);
u32 minerva_init();
u32 minerva_init(minerva_str_t *mtc_str);
void minerva_change_freq(minerva_freq_t freq);
void minerva_sdmmc_la_program(void *table, bool t210b01);
void minerva_prep_boot_freq();