From 146ff53a310d922c7f7cd2dae527a9c82c9abcc4 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sun, 2 Jun 2024 07:57:22 +0300 Subject: [PATCH] hekate: set bpmp high clock earlier --- bootloader/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootloader/main.c b/bootloader/main.c index ef2efda..4046c4c 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -1513,6 +1513,9 @@ void ipl_main() // Initialize display. display_init(); + // Overclock BPMP. + bpmp_clk_rate_set(h_cfg.t210b01 ? BPMP_CLK_DEFAULT_BOOST : BPMP_CLK_LOWER_BOOST); + // Mount SD Card. 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_con_init(); + // Initialize backlight PWM. display_backlight_pwm_init(); //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. if (h_cfg.t210b01) _r2p_get_config_t210b01();