projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git]
/
board
/
renesas
/
sh7753evb
/
sh7753evb.c
diff --git
a/board/renesas/sh7753evb/sh7753evb.c
b/board/renesas/sh7753evb/sh7753evb.c
index e1bed7dcc3717be68b2c3b48642380653f94ecec..cdeacb8aaeeded798985233a1186825c83233d64 100644
(file)
--- a/
board/renesas/sh7753evb/sh7753evb.c
+++ b/
board/renesas/sh7753evb/sh7753evb.c
@@
-4,8
+4,12
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <command.h>
#include <env.h>
#include <env.h>
+#include <flash.h>
+#include <init.h>
#include <malloc.h>
#include <malloc.h>
+#include <net.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/mmc.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/mmc.h>
@@
-100,7
+104,7
@@
static void set_mac_to_sh_giga_eth_register(int channel, char *mac_string)
unsigned char mac[6];
unsigned long val;
unsigned char mac[6];
unsigned long val;
-
eth_parse
_enetaddr(mac_string, mac);
+
string_to
_enetaddr(mac_string, mac);
if (!channel)
ether = GETHER0_MAC_BASE;
if (!channel)
ether = GETHER0_MAC_BASE;
@@
-258,7
+262,7
@@
int board_late_init(void)
}
#ifdef CONFIG_DEPRECATED
}
#ifdef CONFIG_DEPRECATED
-int do_write_mac(
cmd_tbl_t *cmdtp, int flag, int argc, char *
const argv[])
+int do_write_mac(
struct cmd_tbl *cmdtp, int flag, int argc, char *
const argv[])
{
int i, ret;
char mac_string[256];
{
int i, ret;
char mac_string[256];