FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cfgmagic/target.c139 @ 943:f22b34873ea5
gsm-fw: feature pirhack-ffs changed to feature aftermarket-ffs,
now supports Compal as well
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 01 Nov 2015 03:39:51 +0000 |
parents | 631fb20ff8d4 |
children |
rev | line source |
---|---|
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CONFIG_TARGET_C139=1 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CONFIG_TARGET_COMPAL=1 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 export_to_c CONFIG_TARGET_C139 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 export_to_c CONFIG_TARGET_COMPAL |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 FLASH_BOOT_VIA_BOOTROM=0 |
630
4cd1dcc167e4
gsm-fw/cfgmagic: preparations for building flash images (sane vs. Compal)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
522
diff
changeset
|
6 FLASHIMAGE_BASE_ADDR=0x10000 |
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 CONFIG_IRAM_SIZE=0x40000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 CONFIG_XRAM_SIZE=0x80000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 CONFIG_FWFLASH_SIZE=0x400000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 # the post-target fragment exports these |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 # RAMFFS: default to 8 KiB x 6 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 RAMFFS_BLKSIZE_LOG2=13 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 RAMFFS_NBLOCKS=6 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
937
631fb20ff8d4
gsm-fw/cfgmagic: beginning of support for Intel single bank flash (Compal)
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
930
diff
changeset
|
17 # select the correct flash driver |
631fb20ff8d4
gsm-fw/cfgmagic: beginning of support for Intel single bank flash (Compal)
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
930
diff
changeset
|
18 Flash_type=Intel-onebank |
631fb20ff8d4
gsm-fw/cfgmagic: beginning of support for Intel single bank flash (Compal)
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
930
diff
changeset
|
19 |
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 DBB_type=751749 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 ABB_type=Iota3025 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 RF_type=Rita |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 # the post-target fragment will turn these into TI's voodoo numbers |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 |
522
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
25 # For the RF PA we have to set TI's voodoo number directly, and we don't |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
26 # even have a number for these Skyworks parts. :-( |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
27 # The best we can do for now is lie and pretend to be Leonardo/Openmoko. |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
28 RF_PA=2 |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
29 |
930
5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
630
diff
changeset
|
30 # To the best of our knowledge, the correct TSPACT signal to assert |
5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
630
diff
changeset
|
31 # for GSM low band transmission is TSPACT2 on this target. |
5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
630
diff
changeset
|
32 USE_TSPACT2_FOR_TXLOW=1 |
5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
630
diff
changeset
|
33 export_to_c USE_TSPACT2_FOR_TXLOW |
5a826938d005
gsm-fw: experimental support for Compal targets in tpudrv12.[ch]
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
630
diff
changeset
|
34 |
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 RVTMUX_UART_port=MODEM |
943
f22b34873ea5
gsm-fw: feature pirhack-ffs changed to feature aftermarket-ffs,
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
937
diff
changeset
|
36 |
f22b34873ea5
gsm-fw: feature pirhack-ffs changed to feature aftermarket-ffs,
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
937
diff
changeset
|
37 allow_target_feature aftermarket-ffs |