From cc31bb522dc6298142c75eb5a7646cd486545078 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 20 Apr 2020 12:01:09 -0700 Subject: [PATCH] fusee: new scheme doesn't need FLAGS_DEFAULT --- fusee/fusee-secondary/src/exocfg.h | 1 - fusee/fusee-secondary/src/nxboot.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fusee/fusee-secondary/src/exocfg.h b/fusee/fusee-secondary/src/exocfg.h index 00b2c2ba9..e719480cf 100644 --- a/fusee/fusee-secondary/src/exocfg.h +++ b/fusee/fusee-secondary/src/exocfg.h @@ -34,7 +34,6 @@ #define EXOSPHERE_FLAG_BLANK_PRODINFO_SYSMMC (1 << 5u) #define EXOSPHERE_FLAG_BLANK_PRODINFO_EMUMMC (1 << 6u) #define EXOSPHERE_FLAG_ALLOW_WRITING_TO_CAL_SYSMMC (1 << 7u) -#define EXOSPHERE_FLAGS_DEFAULT (EXOSPHERE_FLAG_IS_DEBUGMODE_PRIV) typedef struct { uint32_t magic; diff --git a/fusee/fusee-secondary/src/nxboot.c b/fusee/fusee-secondary/src/nxboot.c index d042d8c6c..a85c0dea0 100644 --- a/fusee/fusee-secondary/src/nxboot.c +++ b/fusee/fusee-secondary/src/nxboot.c @@ -368,9 +368,9 @@ static void nxboot_configure_exosphere(uint32_t target_firmware, unsigned int ke memcpy(&exo_cfg.emummc_cfg, exo_emummc_cfg, sizeof(*exo_emummc_cfg)); if (keygen_type) { - exo_cfg.flags = EXOSPHERE_FLAGS_DEFAULT | EXOSPHERE_FLAG_PERFORM_620_KEYGEN; + exo_cfg.flags = EXOSPHERE_FLAG_PERFORM_620_KEYGEN; } else { - exo_cfg.flags = EXOSPHERE_FLAGS_DEFAULT; + exo_cfg.flags = 0; } /* Setup exosphere parse configuration with defaults. */