diff options
Diffstat (limited to 'board/esd/cms700/cms700.c')
-rw-r--r-- | board/esd/cms700/cms700.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/cms700/cms700.c b/board/esd/cms700/cms700.c index 649619d454..e283a92764 100644 --- a/board/esd/cms700/cms700.c +++ b/board/esd/cms700/cms700.c @@ -114,7 +114,7 @@ int misc_init_r (void) int checkboard (void) { - unsigned char str[64]; + char str[64]; int flashcnt; int delay; volatile unsigned char *led_reg = (unsigned char *)((ulong)CFG_PLD_BASE + 0x1000); @@ -238,7 +238,7 @@ U_BOOT_CMD(eepwren, 2, 0, do_eep_wren, /* ------------------------------------------------------------------------- */ #if (CONFIG_COMMANDS & CFG_CMD_NAND) -#include <linux/mtd/nand.h> +#include <linux/mtd/nand_legacy.h> extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE]; void nand_init(void) |