annotate gsm-fw/gpf/conf/Makefile @ 923:10b4bed10192

gsm-fw/L1: fix for the DSP patch corruption bug The L1 code we got from the LoCosto fw contains a feature for DSP CPU load measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the code dealing with that feature is conditionalized as #if (DSP >= 38), but one spot was missed, and the MCU code was writing into an API word dealing with this feature. In TCS211 this DSP API word happens to be used by the DSP code patch, hence that write was corrupting the patched DSP code.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 19 Oct 2015 17:13:56 +0000
parents 86364a58aa6c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
485
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 CPPFLAGS=-I../inc
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 LD= arm-elf-ld
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
850
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
6 sinclude ../../include/config.mk
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
7
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
8 ifeq (${CONFIG_GSM},1)
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
9 CONFIG_MODULE= gsmcomp
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
10 else
488
e8ed76bbf556 gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 486
diff changeset
11 CONFIG_MODULE= barecomp
850
86364a58aa6c gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents: 488
diff changeset
12 endif
488
e8ed76bbf556 gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 486
diff changeset
13
e8ed76bbf556 gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 486
diff changeset
14 OBJS= gpf_misc_init.o gpf_tst_drv.o ${CONFIG_MODULE}.o
485
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 all: xipcode.o
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 xipcode.o: ${OBJS}
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 ${LD} -r -o $@ ${OBJS}
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 clean:
890ffca53a09 gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 rm -f *.[oa] *errs