FreeCalypso > hg > fc-magnetite
annotate src/cs/drivers/drv_app/ffs/board/dev.c @ 642:a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 31 Jan 2020 02:52:29 +0000 |
parents | cab2f315827e |
children | b2b502339787 |
rev | line source |
---|---|
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /****************************************************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * Flash File System (ffs) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * Idea, design and coding by Mads Meisner-Jensen, mmj@ti.com |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * ffs flash device definitions |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 * |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 * $Id: dev.c 1.34.1.25 Thu, 18 Dec 2003 10:50:52 +0100 tsj $ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 * |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 #include "ffs/ffs.h" |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 #include "ffs/board/drv.h" |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 #include "config/board.cfg" |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 #include "config/rf.cfg" |
602
92dbfa906f66
fc-target.cfg config header renamed to more sensible fc-target.h
Mychaela Falconia <falcon@freecalypso.org>
parents:
558
diff
changeset
|
15 #include "config/fc-target.h" |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 /****************************************************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 Flash memories supported: |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 The real flash device names are listed in the Device column. The names of |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 compatible/similar devices are listed in the "aliases" column. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 Compatible/similar devices are e.g. combo devices using that particular |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 flash device. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 The size column denotes the full device memory size in megabits (Mb). For |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 dual and multi-bank devices, two or more numbers indicate the sizes of the |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 respective banks, starting from the lowest address. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 ---------------+--------+------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 Device | Size| Aliases and Notes |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 AMD | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 29DL161T |15.5+0.5| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 29DL162T |14.0+2.0| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 29DL163T |12.0+4.0| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 29DL164T | 8.0+8.0| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 29DL322T |28.0+4.0| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 29DL323T |24.0+8.0| |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 Fujitsu | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 29DL161T |15.5+0.5| (Am29DL161) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 29DL162T |14.0+2.0| (Am29DL162) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 29DL163T |12.0+4.0| (Am29DL163) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 29DL164T | 8.0+8.0| (Am29DL164) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 29DL321TD | | (Am29DL321), MB84VD22181, MB84VD22081, MB84VD22191 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 29DL322TD |28.0+4.0| (Am29DL322), MB84VD22182, MB84VD22082, MB84VD22192 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 29DL323TD |24.0+8.0| (Am29DL323), MB84VD22183, MB84VD22083, MB84VD22193, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 | | BSample device |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 Samsung | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 K5A3240YT |24+8 | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 K5A3240YB | 8+24 | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 K5A3340YT |16+16 | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 K5A3340YB |14+18 | (!?) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 SST | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 SST36VF1601 | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 Toshiba | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 ? | | TH50VSF2581AASB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 Intel | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 28F160C3 | 16.0| Both Top and Bottom boot |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 28F320C3 | 32.0| Both Top and Bottom boot |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 28F640C3 | 64.0| Both Top and Bottom boot |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 28F640W30 | 64.0| Both Top and Bottom boot, DSample device |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 Test | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 | | |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 ---------------+--------+----------------------------------------------------- |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 /****************************************************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 * Flash Device Memory Maps |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 // The memory map, flash_AAxBB[], used by each flash device definition in |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 // the flash_info[] array below can be either one of the pre-defined ones |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 // below or a custom-defined one. Each line in the memory map represents one |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 // physical device sector. The columns in the memory map has the following |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 // meaning: |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 // |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 // 1. Relative address offset of sector. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 // 2. Base 2 logarithm of sector byte size, e.g. 64kB ~ 2^16. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 // |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 // Note that does NOT support a flash definition with different sized blocks |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 // so all blocks contained in the device definition MUST be the same size! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
92 #if defined(CONFIG_TARGET_PIRELLI) || defined(CONFIG_TARGET_FCFAM) |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
93 // 256 KiB sectors |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
94 static const struct block_info_s flash_32x256[] = |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
95 { |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
96 { 0x000000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
97 { 0x040000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
98 { 0x080000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
99 { 0x0C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
100 { 0x100000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
101 { 0x140000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
102 { 0x180000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
103 { 0x1C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
104 { 0x200000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
105 { 0x240000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
106 { 0x280000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
107 { 0x2C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
108 { 0x300000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
109 { 0x340000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
110 { 0x380000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
111 { 0x3C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
112 { 0x400000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
113 { 0x440000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
114 { 0x480000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
115 { 0x4C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
116 { 0x500000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
117 { 0x540000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
118 { 0x580000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
119 { 0x5C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
120 { 0x600000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
121 { 0x640000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
122 { 0x680000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
123 { 0x6C0000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
124 { 0x700000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
125 { 0x740000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
126 { 0x780000, 18 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
127 { 0x7C0000, 18 } |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
128 }; |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 // 128x64kb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 static const struct block_info_s flash_128x64[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 { 0x00000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 { 0x10000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 { 0x20000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 { 0x30000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 { 0x40000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 { 0x50000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 { 0x60000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 { 0x70000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 { 0x80000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 { 0x90000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 { 0xa0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 { 0xb0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 { 0xc0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 { 0xd0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 { 0xe0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 { 0xf0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 { 0x100000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 { 0x110000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 { 0x120000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 { 0x130000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 { 0x140000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 { 0x150000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 { 0x160000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 { 0x170000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 { 0x180000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 { 0x190000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 { 0x1a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 { 0x1b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 { 0x1c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 { 0x1d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 { 0x1e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 { 0x1f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 { 0x200000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 { 0x210000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 { 0x220000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 { 0x230000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 { 0x240000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 { 0x250000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 { 0x260000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 { 0x270000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 { 0x280000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 { 0x290000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 { 0x2a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 { 0x2b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 { 0x2c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 { 0x2d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 { 0x2e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 { 0x2f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 { 0x300000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 { 0x310000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 { 0x320000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 { 0x330000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 { 0x340000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 { 0x350000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 { 0x360000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 { 0x370000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 { 0x380000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 { 0x390000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 { 0x3a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 { 0x3b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 { 0x3c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 { 0x3d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 { 0x3e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 { 0x3f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 { 0x400000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 { 0x410000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 { 0x420000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 { 0x430000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 { 0x440000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 { 0x450000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 { 0x460000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 { 0x470000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 { 0x480000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 { 0x490000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 { 0x4a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 { 0x4b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
209 { 0x4c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 { 0x4d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 { 0x4e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 { 0x4f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 { 0x500000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 { 0x510000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
215 { 0x520000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
216 { 0x530000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
217 { 0x540000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
218 { 0x550000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
219 { 0x560000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
220 { 0x570000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
221 { 0x580000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
222 { 0x590000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
223 { 0x5a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
224 { 0x5b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
225 { 0x5c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
226 { 0x5d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
227 { 0x5e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
228 { 0x5f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
229 { 0x600000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
230 { 0x610000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
231 { 0x620000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
232 { 0x630000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
233 { 0x640000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
234 { 0x650000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
235 { 0x660000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
236 { 0x670000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
237 { 0x680000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
238 { 0x690000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
239 { 0x6a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
240 { 0x6b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
241 { 0x6c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
242 { 0x6d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
243 { 0x6e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
244 { 0x6f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
245 { 0x700000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
246 { 0x710000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
247 { 0x720000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
248 { 0x730000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
249 { 0x740000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
250 { 0x750000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
251 { 0x760000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
252 { 0x770000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
253 { 0x780000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
254 { 0x790000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
255 { 0x7a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
256 { 0x7b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
257 { 0x7c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
258 { 0x7d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
259 { 0x7e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
260 { 0x7f0000, 16 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
261 }; |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
262 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
263 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
264 // 16x64kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
265 static const struct block_info_s flash_16x64[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
266 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
267 { 0x00000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
268 { 0x10000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
269 { 0x20000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
270 { 0x30000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
271 { 0x40000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
272 { 0x50000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
273 { 0x60000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
274 { 0x70000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
275 { 0x80000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
276 { 0x90000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
277 { 0xA0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
278 { 0xB0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
279 { 0xC0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
280 { 0xD0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
281 { 0xE0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
282 { 0xF0000, 16 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
283 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
284 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
285 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
286 // 8x8kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
287 static const struct block_info_s flash_8x8[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
288 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
289 { 0x0000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
290 { 0x2000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
291 { 0x4000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
292 { 0x6000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
293 { 0x8000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
294 { 0xa000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
295 { 0xc000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
296 { 0xe000, 13 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
297 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
298 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
299 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
300 // 4x4kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
301 static const struct block_info_s flash_4x4[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
302 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
303 { 0x0000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
304 { 0x1000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
305 { 0x2000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
306 { 0x3000, 12 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
307 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
308 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
309 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
310 /****************************************************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
311 * Flash Device Info Array |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
312 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
313 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
314 // Each entry in the array below represents one flash device definition as |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
315 // FFS needs it. The columns have the following meaning: |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
316 // |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
317 // 1. Device memory map. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
318 // 2. Absolute address of the first sector to be used by/for FFS. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
319 // 3. Manufacturer code. Values are from FFS_MANUFACTURER enumeration |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
320 // in drv.h |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
321 // 4. Device code. Available from device datasheet. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
322 // 5. FFS device driver to use. Values are from FFS_DRIVER enumeration |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
323 // in drv.h |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
324 // 6. Number of sectors to use, starting from the address given in |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
325 // column 2. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
326 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
327 /********** RAM configuration ************************************************* |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
328 * Note it is necessary to hardwire the configuration of the ram driver |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
329 * in cfgffs.c. The ram driver is configured like and pseudo flash |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
330 * device with only a few exceptions: Field 2 which is the absolute |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
331 * address of the first sector MUST be set to zero, instead the address |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
332 * is configured in cfgffs.c. Field 4 'Device code' is an arbitrary |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
333 * value and not a real device code. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
334 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
335 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
336 /********** Multi-id configuration ******************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
337 * When 227Eh is output, it indicates that two additional codes, called |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
338 * Extended Device Codes, will be required. The two additional codes will be |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
339 * read and the lower byte of each code will be combined into one id, which |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
340 * is used for auto-detection of the flash configuration. The device code |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
341 * format for the multi-id devices is as follow: 0x227E, 0x22YY, 0x22ZZ -> |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
342 * 0xYYZZ. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
343 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
344 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
345 const struct flash_info_s flash_info[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
346 { |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
347 #if 0 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
348 //BOARD 34. Ram device 4x4kB. Note it is necessary to hardwire the conf |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
349 //in cfgffs.c |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
350 { &flash_4x4[0], 0, MANUFACT_RAM, 0x0404, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
351 FFS_DRIVER_RAM, 4}, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
352 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
353 // Ram device 8x8kB. Note it is necessary to hardwire the conf in cfgffs.c |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
354 { &flash_8x8[0], 0, MANUFACT_RAM, 0x080D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
355 FFS_DRIVER_RAM, 8}, |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
356 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
357 |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
358 #ifdef CONFIG_TARGET_PIRELLI |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
359 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
360 /* |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
361 * Our familiar version of the Pirelli DP-L10 hw features Spansion |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
362 * S71PL129NC0HFW4B flash (N version, 256 KiB sectors), but apparently |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
363 * an earlier hw version had S71PL129J flash with 64 KiB sectors, |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
364 * and Pirelli's official fw supports both. They have modified |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
365 * TI's flash ID code to generate device ID 0x2100 for the J version |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
366 * or 0x2101 for the N version. We have now replicated this ID logic |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
367 * in our FreeCalypso code base, and we can now support both flash |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
368 * chip versions as well. |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
369 * |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
370 * Our FFS configuration for the Pirelli target is aftermarket. |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
371 */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
372 |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
373 /* J flash */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
374 { &flash_128x64[0], (char *) 0x02480000, MANUFACT_AMD, 0x2100, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
375 FFS_DRIVER_AMD, 24 }, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
376 |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
377 /* N flash */ |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
378 { &flash_32x256[0], (char *) 0x02480000, MANUFACT_AMD, 0x2101, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
379 FFS_DRIVER_AMD, 6 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
380 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
381 #elif defined(CONFIG_TARGET_FCFAM) |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
382 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
383 /* |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
384 * This table of flash devices covers those possibilities that may occur |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
385 * on FreeCalypso-branded hardware; we use a new table separate from the |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
386 * one we inherited from TI/Openmoko. Originally we had no choice because |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
387 * we had no working autodetection for our new S71PL129N flash; we now have |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
388 * working autodetection, but we still use a separate device table for a |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
389 * few reasons: |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
390 * |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
391 * 1) Our 16 MiB flash options (S71PL129N and S71PL129J) are specific |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
392 * to CONFIG_TARGET_FCFAM; |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
393 * |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
394 * 2) We gain additional freedoms like having a different FFS config |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
395 * for K5A32xxCTM flash in FCFAM vs. Openmoko; |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
396 * |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
397 * 3) Less clutter is always good. |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
398 */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
399 |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
400 /* S71PL129N, current FCDEV3B hw, FFS in the first 2 MiB of the 2nd bank */ |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
401 { &flash_32x256[0], (char *) 0x01800000, MANUFACT_AMD, 0x2101, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
402 FFS_DRIVER_AMD, 8 }, |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
403 |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
404 /* S71PL129J, currently only theoretical */ |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
405 { &flash_128x64[0], (char *) 0x01800000, MANUFACT_AMD, 0x2100, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
406 FFS_DRIVER_AMD, 32 }, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
407 |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
408 /* S71PL064J, 7x9 mm, attractive option for tight physical form factors */ |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
409 { &flash_16x64[0], (char *) 0x700000, MANUFACT_AMD, 0x0201, |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
410 FFS_DRIVER_AMD, 15 }, |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
411 |
558
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
412 /* |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
413 * Prior to the discovery of S71PL064J as a superior alternative, we were |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
414 * thinking about using Samsung K5A32xx from Openmoko in embedded modem |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
415 * products that have no need for huge flash and XRAM. Now that we have |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
416 * discovered S71PL064J which is both physically smaller and friendlier in |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
417 * terms of BGA footprint, it is unlikely that we will go back to K5A32xx. |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
418 * However, we do have one FCDEV3B board on which we populated a K5A3281CTM |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
419 * chip, so we are keeping firmware support for it. |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
420 * |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
421 * Note that the FFS configuration is different from Openmoko's: the |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
422 * thinking was that if we were going to use this chip, let's use it |
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
423 * efficiently. |
558
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
424 */ |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
425 { &flash_16x64[0], (char *) 0x300000, MANUFACT_SAMSUNG, 0x22A0, |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
426 FFS_DRIVER_AMD, 15 }, |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
427 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
428 #elif defined(CONFIG_TARGET_COMPAL) |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
429 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
430 /* aftermarket FFS configurations for FreeCalypso on Mot C1xx phones */ |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
431 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
432 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors. |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
433 // Changed for C11x aftermarket FFS config: 64x3 at 0x1C0000 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
434 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_INTEL, 0x88C2, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
435 FFS_DRIVER_INTEL_SB, 3 }, |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
436 |
612
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
437 /* ST equivalent of 28F160C3T found in some Mot C11x phones */ |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
438 { &flash_16x64[0], (char *) 0x1C0000, 0x20, 0x88CE, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
439 FFS_DRIVER_INTEL_SB, 3 }, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
440 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
441 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
442 // Changed for C139 aftermarket FFS config: 64x3 at 0x3C0000 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
443 { &flash_16x64[0], (char *) 0x3C0000, MANUFACT_INTEL, 0x88C4, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
444 FFS_DRIVER_INTEL_SB, 3 }, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
445 |
612
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
446 /* ST equivalent of 28F320C3T found in some Mot C139 phones */ |
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
447 { &flash_16x64[0], (char *) 0x3C0000, 0x20, 0x88BA, |
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
448 FFS_DRIVER_INTEL_SB, 3 }, |
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
449 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
450 // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
451 // Changed for C155 aftermarket FFS config: 64x13 at 0x700000 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
452 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88CD, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
453 FFS_DRIVER_INTEL_SB, 13 }, |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
454 |
542
b48e9892ee65
FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
Mychaela Falconia <falcon@freecalypso.org>
parents:
528
diff
changeset
|
455 // Intel 28F640W30-B, 64Mb. (DSample). Using top-most 15x64kB sectors |
b48e9892ee65
FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
Mychaela Falconia <falcon@freecalypso.org>
parents:
528
diff
changeset
|
456 // Changed for C155 aftermarket FFS config: 64x13 at 0x700000 |
b48e9892ee65
FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
Mychaela Falconia <falcon@freecalypso.org>
parents:
528
diff
changeset
|
457 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x8855, |
b48e9892ee65
FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
Mychaela Falconia <falcon@freecalypso.org>
parents:
528
diff
changeset
|
458 FFS_DRIVER_INTEL, 13 }, |
b48e9892ee65
FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
Mychaela Falconia <falcon@freecalypso.org>
parents:
528
diff
changeset
|
459 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
460 #else |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
461 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
462 /* original table from TI/Openmoko, used on TI and Openmoko targets */ |
642
a6b7f63d94f1
FFS dev.c for FCFAM: better comments, S71PL064J added
Mychaela Falconia <falcon@freecalypso.org>
parents:
638
diff
changeset
|
463 /* also used on the newly discovered GTM900 and Tango modem targets */ |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
464 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
465 /********** AMD Devices ***********************************************/ |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
466 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
467 #ifdef CONFIG_TARGET_LEONARDO |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
468 // AMD Am29DL640F. Ignoring the 8kB sectors |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
469 // Multi-id device: 0x227E, 0x2221, 0x2200. Converted to 0x2100 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
470 { &flash_16x64[0], (char *) 0x01800000, MANUFACT_AMD, 0x2100, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
471 FFS_DRIVER_AMD, 15 }, |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
472 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
473 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
474 // AMD Am29DL640G. Ignoring the 8kB sectors |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
475 // Multi-id device: 0x227E, 0x2202, 0x2201. Converted to 0x0201 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
476 { &flash_16x64[0], (char *) 0x700000, MANUFACT_AMD, 0x0201, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
477 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
478 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
479 // AMD Am29DL321DT does not exist as of 2000-0217 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
480 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
481 // AMD Am29DL322DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
482 { &flash_16x64[0], (char *) 0x380000, MANUFACT_AMD, 0x2255, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
483 FFS_DRIVER_AMD_SB, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
484 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
485 // AMD Am29DL323DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
486 { &flash_16x64[0], (char *) 0x300000, MANUFACT_AMD, 0x2250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
487 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
488 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
489 // AMD Am29DL161DT. Using 8x8kB sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
490 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_AMD, 0x2236, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
491 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
492 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
493 // AMD Am29DL162DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
494 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_AMD, 0x222D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
495 FFS_DRIVER_AMD, 3 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
496 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
497 // AMD Am29DL163DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
498 { &flash_16x64[0], (char *) 0x180000, MANUFACT_AMD, 0x2228, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
499 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
500 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
501 // AMD Am29DL164DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
502 { &flash_16x64[0], (char *) 0x100000, MANUFACT_AMD, 0x2233, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
503 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
504 |
638
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
505 /* newer Spansion devices in AMD ID code space */ |
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
506 |
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
507 // Spansion S29/S71PL032J. Ignoring the 8kB sectors |
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
508 // Multi-id device: 0x227E, 0x220A, 0x2201. Converted to 0x0A01 |
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
509 { &flash_16x64[0], (char *) 0x380000, MANUFACT_AMD, 0x0A01, |
cab2f315827e
FFS dev.c: added Spansion PL032J to the "generic" table
Mychaela Falconia <falcon@freecalypso.org>
parents:
624
diff
changeset
|
510 FFS_DRIVER_AMD, 7 }, |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
511 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
512 /********** Fujitsu Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
513 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
514 // Fujitsu MBM29DL321TD. Using 8x8kB sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
515 { &flash_8x8[0], (char *) 0x3f0000, MANUFACT_FUJITSU, 0x2259, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
516 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
517 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
518 // Fujitsu MBM29DL322TD. Ignoring all the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
519 { &flash_16x64[0], (char *) 0x380000, MANUFACT_FUJITSU, 0x2255, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
520 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
521 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
522 // Fujitsu MBM29DL323TD (BSample). Dual bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
523 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x2250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
524 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
525 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
526 // Fujitsu MBM29DL161DT (similar to Am29DL161T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
527 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_FUJITSU, 0x2236, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
528 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
529 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
530 // Fujitsu MBM29DL162DT (similar to Am29DL162T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
531 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_FUJITSU, 0x222D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
532 FFS_DRIVER_AMD, 3 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
533 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
534 // Fujitsu MBM29DL163DT (similar to Am29DL163T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
535 { &flash_16x64[0], (char *) 0x180000, MANUFACT_FUJITSU, 0x2228, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
536 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
537 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
538 // Fujitsu MBM29DL164DT (similar to Am29DL164T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
539 { &flash_16x64[0], (char *) 0x100000, MANUFACT_FUJITSU, 0x2233, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
540 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
541 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
542 /* This is the RITA flash configuration */ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
543 // Fujitsu MBM29DL320FB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
544 // Multi-id device: 0x227E, 0x220A, 0x2200. Converted to 0x0A00 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
545 { &flash_16x64[0], (char *) 0x320000, MANUFACT_FUJITSU, 0x0A00, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
546 FFS_DRIVER_AMD_SB, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
547 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
548 // Fujitsu MBM29DL320FT |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
549 // Multi-id device: 0x227E, 0x220A, 0x2201. Converted to 0x0A01 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
550 { &flash_16x64[0], (char *) 0x320000, MANUFACT_FUJITSU, 0x0A01, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
551 FFS_DRIVER_AMD_SB, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
552 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
553 // Fujitsu MBM29DL640F, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
554 // Multi-id device: 0x227E, 0x2221, 0x2200. Converted to 0x2100 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
555 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x2100, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
556 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
557 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
558 // Fujitsu 84VF5F5F4J2, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
559 // Multi-id device: 0x227E, 0x2202, 0x2201. Converted to 0x0201 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
560 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x0201, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
561 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
562 |
624
012028896cfb
FFS dev.c, Leonardo target: Fujitsu MB84VF5F5F4J2 #if 0'ed out
Mychaela Falconia <falcon@freecalypso.org>
parents:
612
diff
changeset
|
563 #if 0 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
564 // Fujitsu MB84VF5F5F4J2 stacked device. Using the 2nd sub device |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
565 // The 8x8 are located both in top and bottom, thus only 126 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
566 // blocks are used. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
567 { &flash_128x64[0], (char *) 0x1810000, MANUFACT_FUJITSU, 0xB496, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
568 FFS_DRIVER_AMD_SB, 126 }, |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
569 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
570 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
571 /********** Intel Devices *********************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
572 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
573 // Intel 28F160C3-T 16Mb. Using top-most 8x8kB (parameter) sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
574 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_INTEL, 0x88C2, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
575 FFS_DRIVER_INTEL_SB, 8 }, |
476
43853399dbee
FFS: support different flash chip found on some Mot C11x phones
Mychaela Falconia <falcon@freecalypso.org>
parents:
475
diff
changeset
|
576 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
577 // Intel 28F160C3-B, 16Mb. Using top-most 6x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
578 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x88C3, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
579 FFS_DRIVER_INTEL_SB, 6 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
580 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
581 // Intel 28F320C3-T, 32Mb. Using top-most 8x8kB (parameter) sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
582 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_INTEL, 0x88C4, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
583 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
584 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
585 // Intel 28F320C3-B, 32Mb. Using top-most 8x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
586 { &flash_16x64[0], (char *) 0x380000, MANUFACT_INTEL, 0x88C5, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
587 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
588 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
589 // Intel 28F640C3-T, 64Mb. Using top-most 8x8kB (parameter) sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
590 { &flash_8x8[0], (char *) 0x7F0000, MANUFACT_INTEL, 0x88CC, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
591 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
592 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
593 // Intel 28F640C3-B, 64Mb. Using top-most 16x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
594 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88CD, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
595 FFS_DRIVER_INTEL_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
596 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
597 // Intel 28F640W30-T, 64Mb. Using top-most 8x8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
598 { &flash_8x8[0], (char *) 0x7F0000, MANUFACT_INTEL, 0x8854, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
599 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
600 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
601 // Intel 28F640W30-B, 64Mb. (DSample). Using top-most 47x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
602 // { &flash_128x64[0], (char *) 0x500000, MANUFACT_INTEL, 0x8855, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
603 // FFS_DRIVER_INTEL_SB, 47 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
604 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
605 // Intel 28F640W30-B, 64Mb. (DSample). Using top-most 15x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
606 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x8855, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
607 FFS_DRIVER_INTEL, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
608 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
609 // Intel 28F640W30-B, 64Mb. (DSample). Using top-most 15x64kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
610 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88FF, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
611 FFS_DRIVER_INTEL_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
612 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
613 /********** MXIC Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
614 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
615 // Intel 28F640W30-T, 64Mb. Using top-most 8x8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
616 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_MXIC, 0x0024, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
617 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
618 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
619 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
620 /********** Samsung Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
621 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
622 // Samsung K5A3240YT Top boot, 24Mb + 8Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
623 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22B7, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
624 FFS_DRIVER_AMD_SB, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
625 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
626 // Samsung K5A3340YT Top boot, 16Mb + 16Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
627 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22BA, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
628 FFS_DRIVER_AMD_SB, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
629 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
630 // Samsung K5A3240YB Bottom boot, 8Mb + 24Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
631 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x223F, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
632 FFS_DRIVER_AMD_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
633 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
634 // Samsung K5A3340YB Bottom boot, 14Mb + 18Mb (!?) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
635 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x223D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
636 FFS_DRIVER_AMD_SB, 8 }, |
606
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
637 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
638 /* post-TI additions */ |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
639 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
640 // Samsung K5A32xxCTM (Openmoko) |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
641 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22A0, |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
642 FFS_DRIVER_AMD_SB, 7 }, |
606
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
643 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
644 // Samsung K5L33xxCAM (Huawei GTM900) |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
645 // Multi-id device: 0x257E, 0x2503, 0x2501. Converted to 0x0301 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
646 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x0301, |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
647 FFS_DRIVER_AMD_SB, 7 }, |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
648 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
649 // Samsung K5L6331CAA-D270 ?? (stanza came with moko10/11 source) |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
650 // Multi-id device: 0x257E, 0x2506, 0x2501. Converted to 0x0601 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
651 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x0601, |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
652 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
653 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
654 /********** SST Devices ***********************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
655 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
656 // SST SST36VF1601 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
657 { &flash_16x64[0], (char *) 0x180000, MANUFACT_SST, 0x2761, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
658 FFS_DRIVER_SST, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
659 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
660 /********** Toshiba Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
661 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
662 // Toshiba TH50VSF2581AASB Bottom boot combo device |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
663 { &flash_16x64[0], (char *) 0x380000, MANUFACT_TOSHIBA, 0x009C, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
664 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
665 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
666 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
667 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
668 #if 0 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
669 /********** Special/Test Devices **************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
670 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
671 // Intel 28F160C3-B, 16Mb. Single bank driver |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
672 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
673 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x01C3, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
674 FFS_DRIVER_INTEL_SB, 6 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
675 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
676 // Fujitsu MBM29DL323TD (BSample). Single bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
677 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
678 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x0150, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
679 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
680 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
681 // Fujitsu MBM29DL323TD (BSample). Pseudo single bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
682 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
683 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x0250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
684 FFS_DRIVER_AMD_PSEUDO_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
685 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
686 // Fujitsu MBM29DL323TD (BSample). "True" single bank device definition |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
687 // within first flash device bank! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
688 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
689 { &flash_16x64[0], (char *) 0x280000, MANUFACT_FUJITSU, 0x0350, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
690 FFS_DRIVER_AMD_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
691 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
692 // AMD Am29DL323DT on EVA4 (base address = 0x200000) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
693 { &flash_16x64[0], (char *) 0x500000, MANUFACT_AMD, 0xF250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
694 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
695 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
696 // PC Test/Simulation flash 128x64kb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
697 { &flash_128x64[0], (char *) 0x000000, MANUFACT_TEST, 0x0F12, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
698 FFS_DRIVER_TEST, 127 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
699 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
700 // PC Test/Simulation flash 16x64kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
701 { &flash_16x64[0], (char *) 0x000000, MANUFACT_TEST, 0x0F10, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
702 FFS_DRIVER_TEST, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
703 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
704 // PC Test/Simulation flash 8x8kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
705 { &flash_8x8[0], (char *) 0x000000, MANUFACT_TEST, 0x080D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
706 FFS_DRIVER_TEST, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
707 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
708 // PC Test/Simulation flash 4x4kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
709 { &flash_4x4[0], (char *) 0x000000, MANUFACT_TEST, 0x0404, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
710 FFS_DRIVER_TEST, 4 }, |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
711 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
712 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
713 // terminator |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
714 { 0, 0, 0, 0 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
715 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
716 |