From: Jagan Teki Date: Wed, 21 Nov 2018 06:44:07 +0000 (+0530) Subject: board_r: Remove initr_spi X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ef6ce46ad889d935dce26133232943aa302bd901;p=u-boot.git board_r: Remove initr_spi Drop unused initr_spi, which just return 0, no usage. Signed-off-by: Jagan Teki --- 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 #include #include -#include #include #include #include @@ -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