mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
hekate: set bpmp high clock earlier
This commit is contained in:
parent
a96cac5964
commit
146ff53a31
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue