]> git.baikalelectronics.ru Git - uboot.git/commit
arm: socfpga: remove re-added ad-hoc reset code
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 13 May 2019 19:16:43 +0000 (21:16 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 14 May 2019 17:52:38 +0000 (19:52 +0200)
commit7336ea7986f93661f7cc1e69de42bb10692f6a3c
tree1897202a9687037fd357a5ece397ba23d09c381e
parent1007272778965d6807bd1cd350874a9c7a5f5487
arm: socfpga: remove re-added ad-hoc reset code

commit 2eac5ade78b0 ("arm: socfpga: implement proper peripheral reset")
has removed the call to 'reset_deassert_peripherals_handoff()' from
socfpga gen5 SPL since the reset driver now handles resets. However,
commit 5775c86aa48c ("ARM: socfpga: Disable bridges in SPL unless booting from FPGA")
has re-added this ad-hoc reset code, so that all peripherals were now
again enabled instead of letting the drivers enable them by request.

While at it, remove this function for gen5 as it should not be used.

Fixes: commit 5775c86aa48c ("ARM: socfpga: Disable bridges in SPL unless booting from FPGA")
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/mach-socfpga/include/mach/reset_manager_gen5.h
arch/arm/mach-socfpga/reset_manager_gen5.c
arch/arm/mach-socfpga/spl_gen5.c