1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-08 03:21:44 +00:00

hekate: set bpmp high clock earlier

This commit is contained in:
CTCaer 2024-06-02 07:57:22 +03:00
parent a96cac5964
commit 146ff53a31

View file

@ -1513,6 +1513,9 @@ void ipl_main()
// Initialize display. // Initialize display.
display_init(); display_init();
// Overclock BPMP.
bpmp_clk_rate_set(h_cfg.t210b01 ? BPMP_CLK_DEFAULT_BOOST : BPMP_CLK_LOWER_BOOST);
// Mount SD Card. // Mount SD Card.
h_cfg.errors |= !sd_mount() ? ERR_SD_BOOT_EN : 0; h_cfg.errors |= !sd_mount() ? ERR_SD_BOOT_EN : 0;
@ -1541,12 +1544,10 @@ skip_lp0_minerva_config:
gfx_init_ctxt(fb, 720, 1280, 720); gfx_init_ctxt(fb, 720, 1280, 720);
gfx_con_init(); gfx_con_init();
// Initialize backlight PWM.
display_backlight_pwm_init(); display_backlight_pwm_init();
//display_backlight_brightness(h_cfg.backlight, 1000); //display_backlight_brightness(h_cfg.backlight, 1000);
// Overclock BPMP.
bpmp_clk_rate_set(h_cfg.t210b01 ? BPMP_CLK_DEFAULT_BOOST : BPMP_CLK_LOWER_BOOST);
// Get R2P config from RTC. // Get R2P config from RTC.
if (h_cfg.t210b01) if (h_cfg.t210b01)
_r2p_get_config_t210b01(); _r2p_get_config_t210b01();