summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-11-10 09:51:17 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-11-29 08:02:39 +0100
commita8ea299c48fa02651ec762d878ad5174771af147 (patch)
tree92f493cf996cd9ed3d30b94cbcf5c8b903cfc664
parentf0b619ec2937b12be698984ee153e293f07fc890 (diff)
arm: zynq: Get rid of ps7_reset_apu() for syzygy board
There is no reason to call separate function. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c8
1 files changed, 1 insertions, 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;