drivers/mtd/nand/s3c2410.c:63:32:
asm/
arch/regs-nand.h
:
No such file or directory
drivers/mtd/nand/s3c2410.c:64:27: asm/arch/nand.h:No such file or directory
打开drivers/mtd/nand/s3c2410.c, 修改第62行及63行中所包含的头文件如下所示:
修改后重新编译通后,运行make zImage生成zImage文件#include <asm/io.h>
#if 0 // sean chi 17Aug2010, modified.
#include <asm/arch/regs-nand.h>
#include <asm/arch/nand.h>
#else
#include <asm/plat-s3c/regs-nand.h>
#include <asm/plat-s3c/nand.h>
#endif#ifdef CONFIG_MTD_NAND_S3C2410_HWECC
static int hardware_ecc = 1;
#else
static int hardware_ecc = 0;
#endif