From 88369d33e322e0cdfbb1f0c33021ad424578619e Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 29 May 2019 17:01:36 -0400 Subject: configs: Disable now unbuildable SPI options for boards Now that various SPI related options depend on CONFIG_DEPRECATED, in order for platforms to build out of the box they need to disable various other options. Cc: Albert ARIBAUD Cc: Marek Vasut Cc: Vladimir Zapolskiy Cc: Fabio Estevam Signed-off-by: Tom Rini Reviewed-by: Marek Vasut Reviewed-by: Jagan Teki --- board/renesas/sh7753evb/sh7753evb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/renesas/sh7753evb') diff --git a/board/renesas/sh7753evb/sh7753evb.c b/board/renesas/sh7753evb/sh7753evb.c index dfdc6b79b7..5ddddb6571 100644 --- a/board/renesas/sh7753evb/sh7753evb.c +++ b/board/renesas/sh7753evb/sh7753evb.c @@ -190,6 +190,7 @@ int board_mmc_init(bd_t *bis) static int get_sh_eth_mac_raw(unsigned char *buf, int size) { +#ifdef CONFIG_DEPRECATED struct spi_flash *spi; int ret; @@ -206,6 +207,7 @@ static int get_sh_eth_mac_raw(unsigned char *buf, int size) return 1; } spi_flash_free(spi); +#endif return 0; } @@ -255,6 +257,7 @@ int board_late_init(void) return 0; } +#ifdef CONFIG_DEPRECATED int do_write_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int i, ret; @@ -318,3 +321,4 @@ U_BOOT_CMD( "write MAC address for GETHERC", "[GETHERC ch0] [GETHERC ch1]\n" ); +#endif -- cgit