• «
  • 1
  • 2
  • 3
  • »
  • Pages: 3/3     Go
主题 : Mini2440之Linux移植开发实战指南请关注它是否正确 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 116030
精华: 0
发帖: 47
金钱: 240 两
威望: 48 点
贡献值: 0 点
综合积分: 94 分
注册时间: 2015-06-04
最后登录: 2020-05-08
20楼  发表于: 2017-03-27 16:29
static struct s3c2410_platform_nand micro2440_nand_info = {
    .tacls      = 20,
    .twrph0        = 60,
    .twrph1        = 20,
    .nr_sets    = ARRAY_SIZE(micro2440_nand_sets),
    .sets        = micro2440_nand_sets,
    .ignore_unset_ecc = 1,
};
出现
  CC      kernel/exit.o
arch/arm/mach-s3c2440/mach-micro2440.c:214: error: unknown field 'ignore_unset_ecc' specified in initializer
arch/arm/mach-s3c2440/mach-micro2440.c:214: warning: initialization makes pointer from integer without a cast

static struct s3c2410_platform_nand micro2440_nand_info = {
    .tacls      = 20,
    .twrph0        = 60,
    .twrph1        = 20,
    .nr_sets    = ARRAY_SIZE(micro2440_nand_sets),
    .sets        = micro2440_nand_sets,
//    .ignore_unset_ecc = 1,
};
编译通过
  • «
  • 1
  • 2
  • 3
  • »
  • Pages: 3/3     Go