FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_app/ffs/board/dev.c @ 377:db0874a11f57
beginning of C11x target support
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 13 Jan 2018 18:14:21 +0000 |
parents | 204d6866901b |
children | 3860b9e50692 |
comparison
equal
deleted
inserted
replaced
376:3f1a587b3a84 | 377:db0874a11f57 |
---|---|
466 FFS_DRIVER_AMD_SB, 126 }, | 466 FFS_DRIVER_AMD_SB, 126 }, |
467 | 467 |
468 /********** Intel Devices *********************************************/ | 468 /********** Intel Devices *********************************************/ |
469 | 469 |
470 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors. | 470 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors. |
471 #if defined(CONFIG_TARGET_C139) || defined(CONFIG_TARGET_C11X) | |
472 // Changed for C11x aftermarket FFS config: 64x3 at 0x1C0000 | |
473 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL, 0x88C2, | |
474 FFS_DRIVER_INTEL_SB, 3 }, | |
475 #else | |
471 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_INTEL, 0x88C2, | 476 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_INTEL, 0x88C2, |
472 FFS_DRIVER_INTEL_SB, 8 }, | 477 FFS_DRIVER_INTEL_SB, 8 }, |
478 #endif | |
473 | 479 |
474 // Intel 28F160C3-B, 16Mb. Using top-most 6x64kB sectors | 480 // Intel 28F160C3-B, 16Mb. Using top-most 6x64kB sectors |
475 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x88C3, | 481 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x88C3, |
476 FFS_DRIVER_INTEL_SB, 6 }, | 482 FFS_DRIVER_INTEL_SB, 6 }, |
477 | 483 |
478 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. | 484 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. |
479 #ifdef CONFIG_TARGET_C139 | 485 #if defined(CONFIG_TARGET_C139) || defined(CONFIG_TARGET_C11X) |
480 // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000 | 486 // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000 |
481 { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4, | 487 { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4, |
482 FFS_DRIVER_INTEL_SB, 3 }, | 488 FFS_DRIVER_INTEL_SB, 3 }, |
483 #else | 489 #else |
484 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_INTEL, 0x88C4, | 490 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_INTEL, 0x88C4, |