From 63053071b2d2c4c5bd3b2587812143eb8e4fe263 Mon Sep 17 00:00:00 2001
From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Date: Tue, 26 Jan 2016 11:24:22 +0100
Subject: [PATCH] ppc: xilinx_ppc405_generic: Remove uncalled functions

board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not
set. Remove unused function.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
---
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c b/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
index 5c19ac0e6a..3729f07624 100644
--- a/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
+++ b/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
@@ -15,11 +15,6 @@ ulong get_PCI_freq(void)
 	return 0;
 }
 
-int board_pre_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Xilinx PPC405 Generic Board\n");
-- 
2.39.5