[U-Boot] [PATCH v2 5/9] arm: zynq: Get rid of ps7_reset_apu() for syzygy board
Michal Simek
michal.simek at xilinx.com
Tue Nov 14 14:15:36 UTC 2017
There is no reason to call separate function.
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
Changes in v2: None
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 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;
--
1.9.1
More information about the U-Boot
mailing list