annotate src/g23m-aci/ati_ext/ati_ext_mech.h @ 624:012028896cfb

FFS dev.c, Leonardo target: Fujitsu MB84VF5F5F4J2 #if 0'ed out The FFS code we got from TI/Openmoko had a stanza for "Fujitsu MB84VF5F5F4J2 stacked device", using a fake device ID code that would need to be patched manually into cfgffs.c (suppressing and overriding autodetection) and using an FFS base address in the nCS2 bank, indicating that this FFS config was probably meant for the MCP version of Leonardo which allows for 16 MiB flash with a second bank on nCS2. We previously had this FFS config stanza conditionalized under CONFIG_TARGET_LEONARDO because the base address contained therein is invalid for other targets, but now that we actually have a Leonardo build target in FC Magnetite, I realize that the better approach is to #if 0 out this stanza altogether: it is already non-functional because it uses a fake device ID code, thus it is does not add support for more Leonardo board variants, instead it is just noise.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Dec 2019 21:24:29 +0000
parents 2948924c8299
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | Project :
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | Modul : J:\g23m-aci\aci_ext\aci_ext_pers.h
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | Copyright 2002 Texas Instruments Berlin, AG
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | All rights reserved.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 |
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | This file is confidential and a trade secret of Texas
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | Instruments Berlin, AG
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 | The receipt of or possession of this file does not convey
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 | any rights to reproduce or disclose its contents or to
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 | manufacture, use, or sell anything it may describe, in
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 | whole, or in part, without the specific written consent of
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 | Texas Instruments Berlin, AG.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 | Purpose : This is the header file of the AT command extension mechanism.
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 +-----------------------------------------------------------------------------
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 #ifndef ATI_EXT_MECH_H
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 #define ATI_EXT_MECH_H
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 /* ACI extension definitions */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 /* Globals ------------------------------------------------------------------------------ */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 typedef enum
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 {
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 ATI_EXT_FAIL = -1, /* execution failed, error occurred */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 ATI_EXT_CMPL, /* execution completed */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 ATI_EXT_EXCT, /* execution is in progress */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 ATI_EXT_BUSY /* execution is rejected due to a busy extension mechanism*/
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 } T_ATI_EXT_RETURN;
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 /* prototypes of functions.-------------------------------------- */
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 EXTERN char *parse (char *b, char *f, ...);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 EXTERN void ext_OK_v2 ( T_ACI_AT_CMD cmdId );
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 EXTERN T_ATI_EXT_RETURN rEXT_Init ();
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 EXTERN T_ATI_EXT_RETURN rEXT_Execute (UBYTE src_id, CHAR *cmd);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 EXTERN T_ATI_EXT_RETURN rEXT_Abort (UBYTE src_id);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 EXTERN T_ATI_EXT_RETURN rEXT_Signal (T_ACI_EXT_IND *aci_ext_ind);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #ifdef FF_BAT
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #include "p_bat.h"
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 EXTERN T_ATI_EXT_RETURN rEXT_Response_BAT (UBYTE src_id, T_BAT_cmd_response *resp);
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 #endif
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
2948924c8299 src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 #endif /* ATI_EXT_MECH_H */