comparison src/cs/drivers/drv_app/ffs/board/drv.c @ 170:7290e92f71a9

FFS dev.c & drv.c: updates from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Jun 2019 04:23:24 +0000
parents 7409b22cac61
children
comparison
equal deleted inserted replaced
169:9d46c005da91 170:7290e92f71a9
1383 #if defined(CONFIG_TARGET_PIRELLI) || defined(CONFIG_TARGET_FCFAM) 1383 #if defined(CONFIG_TARGET_PIRELLI) || defined(CONFIG_TARGET_FCFAM)
1384 if (device_id[1] == 0x2221 && device_id[2] == 0x2200) 1384 if (device_id[1] == 0x2221 && device_id[2] == 0x2200)
1385 dev.device += ffsdrv_is_new_spansion_flash(); 1385 dev.device += ffsdrv_is_new_spansion_flash();
1386 #endif 1386 #endif
1387 } 1387 }
1388 else if (dev.manufact == MANUFACT_SAMSUNG && device_id[0] == 0x257E) {
1389 /* Samsung's version of extended ID */
1390 dev.device = (device_id[1] << 8) | (device_id[2] & 0xFF);
1391 }
1388 else 1392 else
1389 dev.device = device_id[0]; 1393 dev.device = device_id[0];
1390 #endif 1394 #endif
1391 } 1395 }
1392 else { 1396 else {