FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cfgmagic/post-target @ 937:631fb20ff8d4
gsm-fw/cfgmagic: beginning of support for Intel single bank flash (Compal)
in addition to the currently supported AMD multibank (Openmoko and Pirelli)
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 31 Oct 2015 21:50:43 +0000 |
parents | 2c9c2b95ddec |
children |
comparison
equal
deleted
inserted
replaced
936:1e80730db11b | 937:631fb20ff8d4 |
---|---|
110 echo "Error: target.$TARGET failed to define RF_PA" 1>&2 | 110 echo "Error: target.$TARGET failed to define RF_PA" 1>&2 |
111 exit 1 | 111 exit 1 |
112 fi | 112 fi |
113 export_to_c RF_PA | 113 export_to_c RF_PA |
114 | 114 |
115 if [ -z "$Flash_type" ] | |
116 then | |
117 echo "Error: target.$TARGET failed to define Flash_type" 1>&2 | |
118 exit 1 | |
119 fi | |
120 | |
121 case "$Flash_type" in | |
122 AMD-multi*) | |
123 FLASH_IS_AMD_MULTIBANK=1 | |
124 export_to_c FLASH_IS_AMD_MULTIBANK | |
125 ;; | |
126 Intel-single* | Intel-one*) | |
127 FLASH_IS_INTEL_ONEBANK=1 | |
128 export_to_c FLASH_IS_INTEL_ONEBANK | |
129 export_to_mk FLASH_IS_INTEL_ONEBANK | |
130 ;; | |
131 *) | |
132 echo "Error: unknown Flash_type=$Flash_type" 1>&2 | |
133 exit 1 | |
134 ;; | |
135 esac | |
136 | |
115 # !!! Dirty hack !!! | 137 # !!! Dirty hack !!! |
116 # | 138 # |
117 # All targets which we currently support or have realistic prospects of | 139 # All targets which we currently support or have realistic prospects of |
118 # supporting are derived from TI's D-sample and/or Leonardo reference designs. | 140 # supporting are derived from TI's D-sample and/or Leonardo reference designs. |
119 # TI's voodoo BOARD number for D-sample is 41, and Leonardo apparently | 141 # TI's voodoo BOARD number for D-sample is 41, and Leonardo apparently |