add option to determine memory mode from physical memory

This commit is contained in:
Christoph Baumann
2025-05-21 01:17:44 +02:00
parent 37a016122c
commit 37c8874930

View File

@@ -96,7 +96,8 @@ typedef struct _exo_cfg_t
u8 uart_port;
u8 uart_invert;
u32 uart_baudrate;
u32 rsvd1[2];
u8 memory_mode_auto;
u8 rsvd1[7];
exo_emummc_config_t emummc_cfg;
} exo_cfg_t;
@@ -249,6 +250,8 @@ void config_exosphere(launch_ctxt_t *ctxt, u32 warmboot_base)
{
if (!strcmp("blank_prodinfo_emummc", kv->key))
cal0_blanking = atoi(kv->val);
} else if (!strcmp("memory_mode_auto", kv->key)) {
exo_cfg->memory_mode_auto = atoi(kv->val);
}
else
{