Add missing dependencies for 2 previous commits

- hos/mtc: Add FSP WAR and boost HOS booting times
- autoboot: Support VOL-+ combo for fastboot
This commit is contained in:
CTCaer 2019-12-08 01:15:35 +02:00
parent dbe6ed4060
commit 6734513d47
2 changed files with 10 additions and 0 deletions

View file

@ -60,6 +60,15 @@ void minerva_init()
minerva_cfg(mtc_cfg, NULL); minerva_cfg(mtc_cfg, NULL);
mtc_cfg->rate_to = 1600000; mtc_cfg->rate_to = 1600000;
minerva_cfg(mtc_cfg, NULL); minerva_cfg(mtc_cfg, NULL);
// FSP WAR.
mtc_cfg->train_mode = OP_SWITCH;
mtc_cfg->rate_to = 800000;
minerva_cfg(mtc_cfg, NULL);
// Switch to max.
mtc_cfg->rate_to = 1600000;
minerva_cfg(mtc_cfg, NULL);
} }
void minerva_change_freq(minerva_freq_t freq) void minerva_change_freq(minerva_freq_t freq)

View file

@ -23,6 +23,7 @@
#define BTN_POWER (1 << 0) #define BTN_POWER (1 << 0)
#define BTN_VOL_DOWN (1 << 1) #define BTN_VOL_DOWN (1 << 1)
#define BTN_VOL_UP (1 << 2) #define BTN_VOL_UP (1 << 2)
#define BTN_SINGLE (1 << 7)
u8 btn_read(); u8 btn_read();
u8 btn_wait(); u8 btn_wait();