From: Michal Simek Date: Fri, 10 Nov 2017 08:51:17 +0000 (+0100) Subject: arm: zynq: Get rid of ps7_reset_apu() for syzygy board X-Git-Tag: v2018.01-rc1~59^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8ea299c48fa02651ec762d878ad5174771af147;p=u-boot arm: zynq: Get rid of ps7_reset_apu() for syzygy board There is no reason to call separate function. Signed-off-by: Michal Simek --- 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;