summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-21 12:14:07 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commitef6ce46ad889d935dce26133232943aa302bd901 (patch)
tree1129b70b012c230e7d14074d67ce57a3cf0659dc /common
parent35f9d9bdd07d5e508272421b215ffaffd867bad8 (diff)
downloadu-boot-ef6ce46ad889d935dce26133232943aa302bd901.tar.gz
u-boot-ef6ce46ad889d935dce26133232943aa302bd901.tar.bz2
u-boot-ef6ce46ad889d935dce26133232943aa302bd901.zip
board_r: Remove initr_spi
Drop unused initr_spi, which just return 0, no usage. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 3ccef5467b..2f982b1646 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -36,7 +36,6 @@
#include <onenand_uboot.h>
#include <scsi.h>
#include <serial.h>
-#include <spi.h>
#include <stdio_dev.h>
#include <timer.h>
#include <trace.h>
@@ -379,13 +378,6 @@ static int initr_flash(void)
}
#endif
-#if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI)
-static int initr_spi(void)
-{
- return 0;
-}
-#endif
-
#ifdef CONFIG_CMD_NAND
/* go init the NAND */
static int initr_nand(void)
@@ -736,9 +728,6 @@ static init_fnc_t init_sequence_r[] = {
/* initialize higher level parts of CPU like time base and timers */
cpu_init_r,
#endif
-#ifdef CONFIG_PPC
- initr_spi,
-#endif
#ifdef CONFIG_CMD_NAND
initr_nand,
#endif