annotate gsm-fw/g23m-gsm/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 40a721fd9854
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
774
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
1 LD= arm-elf-ld
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
2
674
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 SUBDIR= alr cc dl l1 mm rr sim sms ss
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
774
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
5 XIP_OBJS= alr/xipcode.o cc/xipcode.o dl/xipcode.o l1/l1_pei.o \
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
6 mm/xipcode.o rr/xipcode.o sim/xipcode.o sms/xipcode.o \
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
7 ss/xipcode.o
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
8
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
9 all: xipcode.o
674
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 ${SUBDIR}: FRC
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 cd $@; ${MAKE} ${MFLAGS}
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
774
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
14 alr/xipcode.o: alr
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
15 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
16
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
17 cc/xipcode.o: cc
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
18 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
19
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
20 dl/xipcode.o: dl
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
21 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
22
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
23 l1/l1_pei.o: l1
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
24 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
25
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
26 mm/xipcode.o: mm
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
27 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
28
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
29 rr/xipcode.o: rr
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
30 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
31
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
32 sim/xipcode.o: sim
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
33 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
34
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
35 sms/xipcode.o: sms
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
36 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
37
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
38 ss/xipcode.o: ss
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
39 @true
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
40
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
41 xipcode.o: ${XIP_OBJS}
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
42 ${LD} -r -o $@ ${XIP_OBJS}
40a721fd9854 gsm-fw/g23m-gsm/Makefile: link xipcode.o for all of g23m-gsm
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 674
diff changeset
43
674
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 clean: FRC
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 rm -f *.[oa] *.out *errs
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47
5ec79b82ab04 gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 FRC: