annotate scripts/make-rv-swe-hdr.sh @ 548:9f191ca0051f

implemented ability to enable -D_FF_RV_EXIST_ in TIF library It is not clear if this quirk is intentional or not, but TI's production version of tif_na7_db_{fl,ir}.lib was built without -D_FF_RV_EXIST_, and as a result, the code that is present in the source for the TRACEMASK_IN_FFS feature was not compiled in, making the feature unavailable. The present change makes it possible to re-enable this code (when TIF libraries are being rebuilt from source rather than used as blobs) by setting TRACEMASK_IN_FFS=1 on the configure line. The new code is NOT enabled by default: it is not a change which we can justify inflicting on our production firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Nov 2018 08:09:17 +0000
parents 23e9a9f18b97
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
386
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #!/bin/sh
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 echo '#ifndef __RV_SWE_H__'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 echo '#define __RV_SWE_H__'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 echo
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 if [ "$ATP_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 echo '#define RVM_ATP_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 echo '#define RVM_AUDIO_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 echo '#define RVM_ETM_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 echo '#define RVM_DAR_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 echo '#define RVM_SPI_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 echo '#define RVM_LLS_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 echo '#define RVM_KPD_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 if [ "$FCHG_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 echo '#define RVM_FCHG_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 if [ "$LCC_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 echo '#define RVM_LCC_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 if [ "$PWR_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 echo '#define RVM_PWR_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 if [ "$R2D_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 echo '#define RVM_R2D_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 if [ "$MKS_STATE" = 1 ]
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 then
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 echo '#define RVM_MKS_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 fi
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 echo '#define RVM_RTC_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 echo '#define RVM_FFS_SWE'
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 echo
23e9a9f18b97 scripts/make-rv-swe-hdr.sh: new script for generating rv_swe.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 echo '#endif /* __RV_SWE_H__ */'