1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-22 16:12:03 +00:00

bdk: hwinit: rename reinit_workaround to deinit

This commit is contained in:
CTCaer 2024-05-19 10:49:25 +03:00
parent 7af343dd6c
commit ae29f359ee
3 changed files with 3 additions and 3 deletions

View file

@ -436,7 +436,7 @@ void hw_init()
clock_enable_host1x();
}
void hw_reinit_workaround(bool coreboot, u32 bl_magic)
void hw_deinit(bool coreboot, u32 bl_magic)
{
bool tegra_t210 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210;

View file

@ -27,7 +27,7 @@ extern u32 hw_rst_status;
extern u32 hw_rst_reason;
void hw_init();
void hw_reinit_workaround(bool coreboot, u32 magic);
void hw_deinit(bool coreboot, u32 magic);
void hw_config_arbiter(bool reset);
u32 hw_get_chip_id();

View file

@ -262,7 +262,7 @@ void power_set_state(power_state_t state)
sd_end();
// De-initialize and power down various hardware.
hw_reinit_workaround(false, 0);
hw_deinit(false, 0);
// Set power state.
switch (state)