mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
arm: sofcpga: s10: remove unused ad-hoc reset code
The stratix 10 reset manager ad-hoc code in arch/arm contains an unused function 'reset_deassert_peripherals_handoff' that has been added from the beginning. As this is probably a result of copying the gen5 reset manager and this function has never been used, remove it. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
This commit is contained in:
parent
430b42f76a
commit
48ec73453a
|
@ -8,7 +8,6 @@
|
||||||
#define _RESET_MANAGER_S10_
|
#define _RESET_MANAGER_S10_
|
||||||
|
|
||||||
void reset_cpu(ulong addr);
|
void reset_cpu(ulong addr);
|
||||||
void reset_deassert_peripherals_handoff(void);
|
|
||||||
int cpu_has_been_warmreset(void);
|
int cpu_has_been_warmreset(void);
|
||||||
|
|
||||||
void socfpga_bridges_reset(int enable);
|
void socfpga_bridges_reset(int enable);
|
||||||
|
|
|
@ -94,17 +94,6 @@ void socfpga_bridges_reset(int enable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Release peripherals from reset based on handoff
|
|
||||||
*/
|
|
||||||
void reset_deassert_peripherals_handoff(void)
|
|
||||||
{
|
|
||||||
writel(0, &reset_manager_base->per1modrst);
|
|
||||||
/* Enable OCP first */
|
|
||||||
writel(~RSTMGR_PER0MODRST_OCP_MASK, &reset_manager_base->per0modrst);
|
|
||||||
writel(0, &reset_manager_base->per0modrst);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return non-zero if the CPU has been warm reset
|
* Return non-zero if the CPU has been warm reset
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user