diff src/cs/drivers/drv_app/ffs/board/dev.c @ 558:ddaa0263ea8e

FFS dev.c: more sensible FFS config for potential future embedded modem products with K5A32xxCTM flash chips
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 20 Dec 2018 04:13:12 +0000
parents 7aad22344e77
children 92dbfa906f66
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/ffs/board/dev.c	Tue Dec 11 07:37:44 2018 +0000
+++ b/src/cs/drivers/drv_app/ffs/board/dev.c	Thu Dec 20 04:13:12 2018 +0000
@@ -411,9 +411,13 @@
     { &flash_128x64[0], (char *) 0x01800000, MANUFACT_AMD,     0x2100,
       FFS_DRIVER_AMD, 32 },
 
-    /* K5A32xxCTM from Openmoko */
-    { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22A0,
-      FFS_DRIVER_AMD,  7 },
+    /*
+     * K5A32xxCTM from Openmoko, but note our different FFS config:
+     * if we are going to put this smaller flash chip into our embedded
+     * modem products, let's use it efficiently.
+     */
+    { &flash_16x64[0], (char *) 0x300000, MANUFACT_SAMSUNG, 0x22A0,
+      FFS_DRIVER_AMD, 15 },
 
 #elif defined(CONFIG_TARGET_COMPAL)