File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,7 +446,8 @@ u32 nandc_flash_init(void __iomem *nandc_addr)
446446 id_byte [0 ][1 ] != 0x95 &&
447447 id_byte [0 ][1 ] != 0xDC &&
448448 id_byte [0 ][1 ] != 0xD3 &&
449- id_byte [0 ][1 ] != 0x48 )
449+ id_byte [0 ][1 ] != 0x48 &&
450+ id_byte [0 ][1 ] != 0x6A )
450451 return FTL_UNSUPPORTED_FLASH ;
451452 }
452453 }
@@ -462,7 +463,8 @@ u32 nandc_flash_init(void __iomem *nandc_addr)
462463 (id_byte [0 ][0 ] == 0xC2 && id_byte [0 ][3 ] == 0xA2 )) {
463464 nand_para .plane_per_die = 2 ;
464465 nand_para .sec_per_page = 8 ;
465- } else if (id_byte [0 ][0 ] == 0x98 && id_byte [0 ][3 ] == 0x26 ) {
466+ } else if ((id_byte [0 ][0 ] == 0x98 && id_byte [0 ][3 ] == 0x26 ) ||
467+ (id_byte [0 ][0 ] == 0xC8 && ((id_byte [0 ][3 ] & 0x3 ) == 1 ))) {
466468 nand_para .blk_per_plane = 1024 ;
467469 nand_para .sec_per_page = 8 ;
468470 nand_para .plane_per_die = 2 ;
You can’t perform that action at this time.
0 commit comments