diff 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
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/ffs/board/dev.c	Sat Jan 13 00:40:14 2018 +0000
+++ b/src/cs/drivers/drv_app/ffs/board/dev.c	Sat Jan 13 18:14:21 2018 +0000
@@ -468,15 +468,21 @@
     /********** Intel Devices *********************************************/
 
     // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors.
+#if defined(CONFIG_TARGET_C139) || defined(CONFIG_TARGET_C11X)
+    // Changed for C11x aftermarket FFS config: 64x3 at 0x1C0000
+    { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL,   0x88C2,
+      FFS_DRIVER_INTEL_SB,  3 },
+#else
     { &flash_8x8[0],   (char *) 0x1F0000, MANUFACT_INTEL,   0x88C2,
       FFS_DRIVER_INTEL_SB,  8 },
+#endif
 
     // Intel 28F160C3-B, 16Mb. Using top-most 6x64kB sectors
     { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL,   0x88C3,
       FFS_DRIVER_INTEL_SB,  6 },
 
     // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors.
-#ifdef CONFIG_TARGET_C139
+#if defined(CONFIG_TARGET_C139) || defined(CONFIG_TARGET_C11X)
     // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000
     { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL,   0x88C4,
       FFS_DRIVER_INTEL_SB,  3 },