[U-Boot,v2,5/9] arm: zynq: Get rid of ps7_reset_apu() for syzygy board

Message ID d8ff29bd7da30f172cf32b64ccf9f5d762f50147.1510668929.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series
  • arm: zynq: ps7* consolidation
Related show

Commit Message

Michal Simek Nov. 14, 2017, 2:15 p.m.
There is no reason to call separate function.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

Changes in v2: None

 board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

Patch

diff --git a/board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c b/board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c
index f2a757a5cfeb..5aa3951b8017 100644
--- a/board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c
+++ b/board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c
@@ -347,17 +347,11 @@  int ps7_post_config(void)
 	return ps7_config(ps7_post_config_3_0);
 }
 
-
-int ps7_reset_apu(void)
-{
-	return ps7_config(ps7_reset_apu_3_0);
-}
-
 int ps7_init(void)
 {
 	int ret;
 
-	ret = ps7_reset_apu();
+	ret = ps7_config(ps7_reset_apu_3_0);
 	if (ret != PS7_INIT_SUCCESS)
 		return ret;