changeset 135:ac4c0a9bc022

FFS dev.c: change from Magnetite for potential future embedded modem products with K5A32xxCTM flash chips
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 20 Dec 2018 04:24:06 +0000
parents 7d50d8d13711
children 7d5b412ffb6c
files src/cs/drivers/drv_app/ffs/board/dev.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/ffs/board/dev.c	Tue Dec 11 08:43:25 2018 +0000
+++ b/src/cs/drivers/drv_app/ffs/board/dev.c	Thu Dec 20 04:24:06 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)