projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configs: Disable now unbuildable SPI options for boards
[platform/kernel/u-boot.git]
/
board
/
renesas
/
sh7752evb
/
sh7752evb.c
diff --git
a/board/renesas/sh7752evb/sh7752evb.c
b/board/renesas/sh7752evb/sh7752evb.c
index
480933b
..
da33a0b
100644
(file)
--- 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)
{
static int get_sh_eth_mac_raw(unsigned char *buf, int size)
{
+#ifdef CONFIG_DEPRECATED
struct spi_flash *spi;
int ret;
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);
return 1;
}
spi_flash_free(spi);
+#endif
return 0;
}
return 0;
}
@@
-239,6
+241,7
@@
int board_late_init(void)
return 0;
}
return 0;
}
+#ifdef CONFIG_DEPRECATED
int do_write_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
int i, ret;
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"
);
"write MAC address for GETHERC",
"[GETHERC ch0] [GETHERC ch1]\n"
);
+#endif