mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-09 20:11:50 +00:00
bdk: hwinit: rename reinit_workaround to deinit
This commit is contained in:
parent
7af343dd6c
commit
ae29f359ee
3 changed files with 3 additions and 3 deletions
|
@ -436,7 +436,7 @@ void hw_init()
|
||||||
clock_enable_host1x();
|
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;
|
bool tegra_t210 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ extern u32 hw_rst_status;
|
||||||
extern u32 hw_rst_reason;
|
extern u32 hw_rst_reason;
|
||||||
|
|
||||||
void hw_init();
|
void hw_init();
|
||||||
void hw_reinit_workaround(bool coreboot, u32 magic);
|
void hw_deinit(bool coreboot, u32 magic);
|
||||||
void hw_config_arbiter(bool reset);
|
void hw_config_arbiter(bool reset);
|
||||||
u32 hw_get_chip_id();
|
u32 hw_get_chip_id();
|
||||||
|
|
||||||
|
|
|
@ -262,7 +262,7 @@ void power_set_state(power_state_t state)
|
||||||
sd_end();
|
sd_end();
|
||||||
|
|
||||||
// De-initialize and power down various hardware.
|
// De-initialize and power down various hardware.
|
||||||
hw_reinit_workaround(false, 0);
|
hw_deinit(false, 0);
|
||||||
|
|
||||||
// Set power state.
|
// Set power state.
|
||||||
switch (state)
|
switch (state)
|
||||||
|
|
Loading…
Reference in a new issue