diff options
Diffstat (limited to 'board/siemens/draco/board.c')
-rw-r--r-- | board/siemens/draco/board.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index 94bd71ad09..5ac73c0ef4 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -13,9 +13,11 @@ */ #include <common.h> +#include <command.h> #include <env.h> #include <errno.h> #include <init.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> @@ -33,6 +35,7 @@ #include <miiphy.h> #include <cpsw.h> #include <watchdog.h> +#include <linux/delay.h> #include "board.h" #include "../common/factoryset.h" #include <nand.h> @@ -342,8 +345,8 @@ int board_eth_init(bd_t *bis) return n; } -static int do_switch_reset(cmd_tbl_t *cmdtp, int flag, int argc, - char *const argv[]) +static int do_switch_reset(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { /* Reset SMSC LAN9303 switch for default configuration */ gpio_request(GPIO_LAN9303_NRST, "nRST"); |