From a8ea299c48fa02651ec762d878ad5174771af147 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 10 Nov 2017 09:51:17 +0100 Subject: [PATCH] arm: zynq: Get rid of ps7_reset_apu() for syzygy board There is no reason to call separate function. Signed-off-by: Michal Simek --- board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 f2a757a5cf..5aa3951b80 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; -- 2.39.5