# HG changeset patch # User Mychaela Falconia # Date 1457154649 0 # Node ID c7ca69bf84f3e7dd689fe688182c690b1b21d9af # Parent 09b8b2327838efe7ac12630589eee555701ba63d gsm-fw: trivial support for c11x target diff -r 09b8b2327838 -r c7ca69bf84f3 gsm-fw/cfgmagic/defimage.c11x --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/cfgmagic/defimage.c11x Sat Mar 05 05:10:49 2016 +0000 @@ -0,0 +1,1 @@ +defimage.smallram \ No newline at end of file diff -r 09b8b2327838 -r c7ca69bf84f3 gsm-fw/cfgmagic/target.c11x --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/cfgmagic/target.c11x Sat Mar 05 05:10:49 2016 +0000 @@ -0,0 +1,37 @@ +CONFIG_TARGET_C11X=1 +CONFIG_TARGET_COMPAL=1 +export_to_c CONFIG_TARGET_C11X +export_to_c CONFIG_TARGET_COMPAL +FLASH_BOOT_VIA_BOOTROM=0 +FLASHIMAGE_BASE_ADDR=0x10000 + +CONFIG_IRAM_SIZE=0x40000 +CONFIG_XRAM_SIZE=0x40000 +CONFIG_FWFLASH_SIZE=0x400000 +# the post-target fragment exports these + +# RAMFFS: default to 8 KiB x 6 +RAMFFS_BLKSIZE_LOG2=13 +RAMFFS_NBLOCKS=6 + +# select the correct flash driver +Flash_type=Intel-onebank + +DBB_type=751749 +ABB_type=Iota3025 +RF_type=Rita +# the post-target fragment will turn these into TI's voodoo numbers + +# For the RF PA we have to set TI's voodoo number directly, and we don't +# even have a number for these Skyworks parts. :-( +# The best we can do for now is lie and pretend to be Leonardo/Openmoko. +RF_PA=2 + +# To the best of our knowledge, the correct TSPACT signal to assert +# for GSM low band transmission is TSPACT6 on this target. +USE_TSPACT2_FOR_TXLOW=0 +export_to_c USE_TSPACT2_FOR_TXLOW + +RVTMUX_UART_port=MODEM + +allow_target_feature aftermarket-ffs diff -r 09b8b2327838 -r c7ca69bf84f3 gsm-fw/sysglue/flashboot.S --- a/gsm-fw/sysglue/flashboot.S Sun Jan 03 04:23:29 2016 +0000 +++ b/gsm-fw/sysglue/flashboot.S Sat Mar 05 05:10:49 2016 +0000 @@ -45,7 +45,7 @@ /* provide the necessary magic words for the boot ROM */ .word 0 .word _Flash_boot_entry -#elif CONFIG_TARGET_C139 +#elif CONFIG_TARGET_C139 || CONFIG_TARGET_C11X /* * On this target we'll put a patched version of Compal's boot code in * flash sector 0 (the brickable one); the main fw images will then be