diff gsm-fw/cfgmagic/feature.pirhack-ffs @ 226:4d706a4134b0

FFS in gsm-fw: generate the legacy block info table at run time
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 13 Jan 2014 10:15:59 +0000
parents c70c077243dd
children 6e7410f7975c
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/feature.pirhack-ffs	Mon Jan 13 09:05:01 2014 +0000
+++ b/gsm-fw/cfgmagic/feature.pirhack-ffs	Mon Jan 13 10:15:59 2014 +0000
@@ -12,6 +12,10 @@
 # select: these sectors form an independent read/write bank, and are not used
 # for FFS by Pirelli's fw, eliminating the possibility of accidental FFS
 # cross-contamination between the two very different firmwares on the same hw.
+#
+# If you want to use some other sectors for FC FFS on the Pirelli, invoke
+# feature pirhack-ffs first, then change CONFIG_PIRHACK_FFS_START and
+# CONFIG_PIRHACK_FFS_NBLOCKS to taste.
 
 if [ $TARGET != pirelli ]
 then
@@ -22,6 +26,10 @@
 
 FFS_IN_RAM=0
 CONFIG_PIRHACK_FFS=1
+CONFIG_PIRHACK_FFS_START=24
+CONFIG_PIRHACK_FFS_NBLOCKS=7
 CONFIG_FLASH_WRITE=1
 export_to_c	CONFIG_PIRHACK_FFS
+export_to_c	CONFIG_PIRHACK_FFS_START
+export_to_c	CONFIG_PIRHACK_FFS_NBLOCKS
 export_to_c	CONFIG_FLASH_WRITE