|
@@ -1522,6 +1522,8 @@ static int pxa3xx_nand_scan(struct mtd_info *mtd)
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ memset(pxa3xx_flash_ids, 0, sizeof(pxa3xx_flash_ids));
|
|
|
|
+
|
|
pxa3xx_flash_ids[0].name = f->name;
|
|
pxa3xx_flash_ids[0].name = f->name;
|
|
pxa3xx_flash_ids[0].dev_id = (f->chip_id >> 8) & 0xffff;
|
|
pxa3xx_flash_ids[0].dev_id = (f->chip_id >> 8) & 0xffff;
|
|
pxa3xx_flash_ids[0].pagesize = f->page_size;
|
|
pxa3xx_flash_ids[0].pagesize = f->page_size;
|