mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 03:33:25 -05:00
ARM: zynq: Drop use of slcr_unlock in zynq_slcr_system_restart
The SLCR is unconditionally unlocked early on boot in zynq_slcr_init() and not ever re-locked. As such, it is not necessary to explicitly unlock in the restart codepath. Signed-off-by: Josh Cartwright <[email protected]> Signed-off-by: Michal Simek <[email protected]>
This commit is contained in:
parent
64e6861760
commit
ef6ca1a84a
1 changed files with 0 additions and 7 deletions
|
|
@ -107,13 +107,6 @@ int zynq_slcr_system_restart(struct notifier_block *nb,
|
|||
{
|
||||
u32 reboot;
|
||||
|
||||
/*
|
||||
* Unlock the SLCR then reset the system.
|
||||
* Note that this seems to require raw i/o
|
||||
* functions or there's a lockup?
|
||||
*/
|
||||
zynq_slcr_unlock();
|
||||
|
||||
/*
|
||||
* Clear 0x0F000000 bits of reboot status register to workaround
|
||||
* the FSBL not loading the bitstream after soft-reboot
|
||||
|
|
|
|||
Loading…
Reference in a new issue