diff options
author | Tom Rini <trini@konsulko.com> | 2019-05-30 00:01:36 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-13 10:21:06 +0300 |
commit | 88369d33e322e0cdfbb1f0c33021ad424578619e (patch) | |
tree | 305f61ff4f38045b2d40f19543a63e127c7a21bf /board/renesas/sh7752evb | |
parent | ea73ec08d17ea5c1213b8014b1171d45655d35cf (diff) | |
download | u-boot-88369d33e322e0cdfbb1f0c33021ad424578619e.tar.xz |
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 <albert.aribaud@3adev.fr>
Cc: Marek Vasut <marex@denx.de>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/renesas/sh7752evb')
-rw-r--r-- | board/renesas/sh7752evb/sh7752evb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/renesas/sh7752evb/sh7752evb.c b/board/renesas/sh7752evb/sh7752evb.c index 480933b3cc..da33a0bd8a 100644 --- a/board/renesas/sh7752evb/sh7752evb.c +++ b/board/renesas/sh7752evb/sh7752evb.c @@ -174,6 +174,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; @@ -190,6 +191,7 @@ static int get_sh_eth_mac_raw(unsigned char *buf, int size) return 1; } spi_flash_free(spi); +#endif return 0; } @@ -239,6 +241,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; @@ -302,3 +305,4 @@ U_BOOT_CMD( "write MAC address for GETHERC", "[GETHERC ch0] [GETHERC ch1]\n" ); +#endif |