--- a/drivers/mtd/devices/gk_sflash_v1_00.c +++ b/drivers/mtd/devices/gk_sflash_v1_00.c @@ -749,7 +749,70 @@ /* io4_mask */ 0xFFFF, /* channel */ 0x0, }, - + { + /* manufacture_ID */ 0xa1, + /* device_ID */ 0x4017, + /* manufacture_name */ "FM", + /* device_name */ "FM25Q64-SOB-T-G", + /* device_bytes */ 8388608, + /* sector_count */ 128, + /* sector_bytes */ 65536, + /* sector_pages */ 256, + /* page_bytes */ 256, + /* commands */ &sflash_commands_gd, + /* feature */ GD_SFLASH_1X_WRITE | GD_SFLASH_1X_READ, + /* lock_mask */ 0xFC79, + /* io4_mask */ 0xFFFF, + /* channel */ 0x0, + }, + { + /* manufacture_ID */ 0xa1, + /* device_ID */ 0x4018, + /* manufacture_name */ "FM", + /* device_name */ "FM25Q128-SOB-T-G", + /* device_bytes */ 8388608*2, + /* sector_count */ 256, + /* sector_bytes */ 65536, + /* sector_pages */ 256, + /* page_bytes */ 256, + /* commands */ &sflash_commands_gd, + /* feature */ GD_SFLASH_1X_WRITE | GD_SFLASH_1X_READ, + /* lock_mask */ 0xFC79, + /* io4_mask */ 0xFFFF, + /* channel */ 0x0, + }, + { + /* manufacture_ID */ 0xa1, + /* device_ID */ 0x4017, + /* manufacture_name */ "XTX", + /* device_name */ "xt25f64b", + /* device_bytes */ 8388608, + /* sector_count */ 128, + /* sector_bytes */ 65536, + /* sector_pages */ 256, + /* page_bytes */ 256, + /* commands */ &sflash_commands_gd, + /* feature */ GD_SFLASH_1X_WRITE | GD_SFLASH_1X_READ, + /* lock_mask */ 0xFC79, + /* io4_mask */ 0xFFFF, + /* channel */ 0x0, + }, + { + /* manufacture_ID */ 0xa1, + /* device_ID */ 0x4018, + /* manufacture_name */ "XTX", + /* device_name */ "xt25f128b", + /* device_bytes */ 8388608*2, + /* sector_count */ 256, + /* sector_bytes */ 65536, + /* sector_pages */ 256, + /* page_bytes */ 256, + /* commands */ &sflash_commands_gd, + /* feature */ GD_SFLASH_1X_WRITE | GD_SFLASH_1X_READ, + /* lock_mask */ 0xFC79, + /* io4_mask */ 0xFFFF, + /* channel */ 0x0, + }, }; static goke_sflash_feature_e old_feature = GOKE_SFLASH_FEATURE_IO1; static u32 sflash_write_enable(goke_sflash_dev_s *device);