]> git.sur5r.net Git - u-boot/blobdiff - board/esd/cms700/cms700.c
Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#mpc83xx
[u-boot] / board / esd / cms700 / cms700.c
index 649619d45406e65d1a47c8c3c6e5915dcdead73b..e283a92764bd743904676814477b23ff1e457fd6 100644 (file)
@@ -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)