diff options
Diffstat (limited to 'board/keymile')
-rw-r--r-- | board/keymile/common/common.c | 13 | ||||
-rw-r--r-- | board/keymile/common/qrio.c | 1 | ||||
-rw-r--r-- | board/keymile/km83xx/km83xx.c | 2 | ||||
-rw-r--r-- | board/keymile/km83xx/km83xx_i2c.c | 1 | ||||
-rw-r--r-- | board/keymile/km_arm/fpga_config.c | 1 | ||||
-rw-r--r-- | board/keymile/kmp204x/ddr.c | 2 | ||||
-rw-r--r-- | board/keymile/kmp204x/eth.c | 1 | ||||
-rw-r--r-- | board/keymile/kmp204x/kmp204x.c | 1 | ||||
-rw-r--r-- | board/keymile/kmp204x/pci.c | 1 |
9 files changed, 17 insertions, 6 deletions
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 08f7f8d884..9c9e1598f8 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -17,6 +17,7 @@ #include <netdev.h> #include <asm/io.h> #include <linux/ctype.h> +#include <linux/delay.h> #if defined(CONFIG_POST) #include "post.h" @@ -157,8 +158,8 @@ int board_eth_init(bd_t *bis) * read out the board id and the hw key from the intventory EEPROM and set * this values as environment variables. */ -static int do_setboardid(cmd_tbl_t *cmdtp, int flag, int argc, - char *const argv[]) +static int do_setboardid(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { unsigned char buf[32]; char *p; @@ -203,8 +204,8 @@ U_BOOT_CMD(km_setboardid, 1, 0, do_setboardid, "setboardid", "read out bid and " * application and in the init scripts (?) * return 0 in case of match, 1 if not match or error */ -static int do_checkboardidhwk(cmd_tbl_t *cmdtp, int flag, int argc, - char *const argv[]) +static int do_checkboardidhwk(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { unsigned long ivmbid = 0, ivmhwkey = 0; unsigned long envbid = 0, envhwkey = 0; @@ -344,8 +345,8 @@ U_BOOT_CMD(km_checkbidhwk, 2, 0, do_checkboardidhwk, * if the testpin of the board is asserted, return 1 * * else return 0 */ -static int do_checktestboot(cmd_tbl_t *cmdtp, int flag, int argc, - char *const argv[]) +static int do_checktestboot(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { int testpin = 0; char *s = NULL; diff --git a/board/keymile/common/qrio.c b/board/keymile/common/qrio.c index 0cb33663aa..06a4e67881 100644 --- a/board/keymile/common/qrio.c +++ b/board/keymile/common/qrio.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <linux/bitops.h> #include "common.h" #include "qrio.h" diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 8f7e7f05d8..29514d8363 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -18,6 +18,7 @@ #include <fdt_support.h> #include <init.h> #include <ioports.h> +#include <log.h> #include <mpc83xx.h> #include <i2c.h> #include <miiphy.h> @@ -25,6 +26,7 @@ #include <asm/mmu.h> #include <asm/processor.h> #include <pci.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <post.h> diff --git a/board/keymile/km83xx/km83xx_i2c.c b/board/keymile/km83xx/km83xx_i2c.c index 113ca70a1a..62100b1949 100644 --- a/board/keymile/km83xx/km83xx_i2c.c +++ b/board/keymile/km83xx/km83xx_i2c.c @@ -8,6 +8,7 @@ #include <i2c.h> #include <asm/io.h> #include <linux/ctype.h> +#include <linux/delay.h> #include "../common/common.h" static void i2c_write_start_seq(void) diff --git a/board/keymile/km_arm/fpga_config.c b/board/keymile/km_arm/fpga_config.c index 8bb0470bc3..abb5b7d60d 100644 --- a/board/keymile/km_arm/fpga_config.c +++ b/board/keymile/km_arm/fpga_config.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> +#include <linux/delay.h> #include <linux/errno.h> /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */ diff --git a/board/keymile/kmp204x/ddr.c b/board/keymile/kmp204x/ddr.c index ee2e3d6b9a..d9c9ddf2ba 100644 --- a/board/keymile/kmp204x/ddr.c +++ b/board/keymile/kmp204x/ddr.c @@ -9,6 +9,8 @@ #include <common.h> #include <i2c.h> #include <hwconfig.h> +#include <init.h> +#include <log.h> #include <asm/mmu.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/keymile/kmp204x/eth.c b/board/keymile/kmp204x/eth.c index 7499d2078b..8635a5448b 100644 --- a/board/keymile/kmp204x/eth.c +++ b/board/keymile/kmp204x/eth.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <fm_eth.h> #include <fsl_mdio.h> diff --git a/board/keymile/kmp204x/kmp204x.c b/board/keymile/kmp204x/kmp204x.c index 0a6cf1fd29..21afbc7f39 100644 --- a/board/keymile/kmp204x/kmp204x.c +++ b/board/keymile/kmp204x/kmp204x.c @@ -10,6 +10,7 @@ #include <command.h> #include <env.h> #include <fdt_support.h> +#include <image.h> #include <init.h> #include <netdev.h> #include <linux/compiler.h> diff --git a/board/keymile/kmp204x/pci.c b/board/keymile/kmp204x/pci.c index 15bbc810a1..87bf16886a 100644 --- a/board/keymile/kmp204x/pci.c +++ b/board/keymile/kmp204x/pci.c @@ -11,6 +11,7 @@ #include <init.h> #include <pci.h> #include <asm/fsl_pci.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/fsl_serdes.h> |