]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: zynq: Get rid of ps7_reset_apu() for syzygy board
authorMichal Simek <michal.simek@xilinx.com>
Fri, 10 Nov 2017 08:51:17 +0000 (09:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Nov 2017 07:02:39 +0000 (08:02 +0100)
There is no reason to call separate function.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c

index f2a757a5cfebdd01c528bddf4de513de01c3db41..5aa3951b80177a7cb74f67b2790227b0e1b96f1d 100644 (file)
@@ -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;