FreeCalypso > hg > fc-magnetite
annotate src/cs/drivers/drv_app/ffs/board/dev.c @ 613:6f0874b00973
LICENSE: current status
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 21 Jun 2019 23:08:01 +0000 |
parents | 0a845c97b8b4 |
children | 012028896cfb |
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 }; |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
129 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
131 #if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_PIRELLI) || \ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
132 defined(CONFIG_TARGET_FCFAM) |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 // 128x64kb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 static const struct block_info_s flash_128x64[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 { 0x00000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 { 0x10000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 { 0x20000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 { 0x30000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 { 0x40000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 { 0x50000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 { 0x60000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 { 0x70000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 { 0x80000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 { 0x90000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 { 0xa0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 { 0xb0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 { 0xc0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 { 0xd0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 { 0xe0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 { 0xf0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 { 0x100000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 { 0x110000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 { 0x120000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 { 0x130000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 { 0x140000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 { 0x150000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 { 0x160000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 { 0x170000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 { 0x180000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 { 0x190000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 { 0x1a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 { 0x1b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 { 0x1c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 { 0x1d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 { 0x1e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 { 0x1f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 { 0x200000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 { 0x210000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 { 0x220000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 { 0x230000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 { 0x240000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 { 0x250000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 { 0x260000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 { 0x270000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 { 0x280000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 { 0x290000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 { 0x2a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 { 0x2b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 { 0x2c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 { 0x2d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 { 0x2e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 { 0x2f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 { 0x300000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 { 0x310000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 { 0x320000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 { 0x330000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 { 0x340000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 { 0x350000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 { 0x360000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 { 0x370000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 { 0x380000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 { 0x390000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 { 0x3a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 { 0x3b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 { 0x3c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 { 0x3d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 { 0x3e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 { 0x3f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 { 0x400000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 { 0x410000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 { 0x420000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 { 0x430000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 { 0x440000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 { 0x450000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 { 0x460000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 { 0x470000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 { 0x480000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
209 { 0x490000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
210 { 0x4a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
211 { 0x4b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
212 { 0x4c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
213 { 0x4d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
214 { 0x4e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
215 { 0x4f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
216 { 0x500000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
217 { 0x510000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
218 { 0x520000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
219 { 0x530000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
220 { 0x540000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
221 { 0x550000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
222 { 0x560000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
223 { 0x570000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
224 { 0x580000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
225 { 0x590000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
226 { 0x5a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
227 { 0x5b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
228 { 0x5c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
229 { 0x5d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
230 { 0x5e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
231 { 0x5f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
232 { 0x600000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
233 { 0x610000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
234 { 0x620000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
235 { 0x630000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
236 { 0x640000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
237 { 0x650000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
238 { 0x660000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
239 { 0x670000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
240 { 0x680000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
241 { 0x690000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
242 { 0x6a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
243 { 0x6b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
244 { 0x6c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
245 { 0x6d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
246 { 0x6e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
247 { 0x6f0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
248 { 0x700000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
249 { 0x710000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
250 { 0x720000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
251 { 0x730000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
252 { 0x740000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
253 { 0x750000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
254 { 0x760000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
255 { 0x770000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
256 { 0x780000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
257 { 0x790000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
258 { 0x7a0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
259 { 0x7b0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
260 { 0x7c0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
261 { 0x7d0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
262 { 0x7e0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
263 { 0x7f0000, 16 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
264 }; |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
265 #endif |
0
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 // 16x64kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
268 static const struct block_info_s flash_16x64[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
269 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
270 { 0x00000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
271 { 0x10000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
272 { 0x20000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
273 { 0x30000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
274 { 0x40000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
275 { 0x50000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
276 { 0x60000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
277 { 0x70000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
278 { 0x80000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
279 { 0x90000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
280 { 0xA0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
281 { 0xB0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
282 { 0xC0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
283 { 0xD0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
284 { 0xE0000, 16 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
285 { 0xF0000, 16 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
286 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
287 |
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 // 8x8kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
290 static const struct block_info_s flash_8x8[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
291 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
292 { 0x0000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
293 { 0x2000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
294 { 0x4000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
295 { 0x6000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
296 { 0x8000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
297 { 0xa000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
298 { 0xc000, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
299 { 0xe000, 13 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
300 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
301 |
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 // 4x4kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
304 static const struct block_info_s flash_4x4[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
305 { |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
306 { 0x0000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
307 { 0x1000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
308 { 0x2000, 12 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
309 { 0x3000, 12 } |
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 |
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 * Flash Device Info Array |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
315 ******************************************************************************/ |
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 // 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
|
318 // 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
|
319 // |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
320 // 1. Device memory map. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
321 // 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
|
322 // 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
|
323 // in drv.h |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
324 // 4. Device code. Available from device datasheet. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
325 // 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
|
326 // in drv.h |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
327 // 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
|
328 // column 2. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
329 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
330 /********** RAM configuration ************************************************* |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
331 * 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
|
332 * 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
|
333 * 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
|
334 * 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
|
335 * 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
|
336 * value and not a real device code. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
337 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
338 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
339 /********** Multi-id configuration ******************************************** |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
340 * 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
|
341 * 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
|
342 * 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
|
343 * 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
|
344 * 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
|
345 * 0xYYZZ. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
346 ******************************************************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
347 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
348 const struct flash_info_s flash_info[] = |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
349 { |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
350 #if 0 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
351 //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
|
352 //in cfgffs.c |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
353 { &flash_4x4[0], 0, MANUFACT_RAM, 0x0404, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
354 FFS_DRIVER_RAM, 4}, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
355 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
356 // 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
|
357 { &flash_8x8[0], 0, MANUFACT_RAM, 0x080D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
358 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
|
359 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
360 |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
361 #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
|
362 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
363 /* |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
364 * 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
|
365 * S71PL129NC0HFW4B flash (N version, 256 KiB sectors), but apparently |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
366 * an earlier hw version had S71PL-J flash with 64 KiB sectors, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
367 * 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
|
368 * 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
|
369 * 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
|
370 * 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
|
371 * chip versions as well. |
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 * 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
|
374 */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
375 |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
376 /* J flash */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
377 { &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
|
378 FFS_DRIVER_AMD, 24 }, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
379 |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
380 /* N flash */ |
85
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
381 { &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
|
382 FFS_DRIVER_AMD, 6 }, |
204d6866901b
FFS changes to support C139, Pirelli and future FreeCalypso targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
383 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
384 #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
|
385 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
386 /* |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
387 * Our FreeCalypso hardware family is currently in its infancy |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
388 * (we have only one board design so far, but hoping to have more), |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
389 * thus the set of possible flash chip types on FC hw platforms |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
390 * is expected to grow. The footprint on our current FCDEV3B PCB |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
391 * ideally fits Spansion MCPs with two chip select banks (either |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
392 * S71PL-J or S71PL-N), but can also be fitted with Openmoko's |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
393 * Samsung K5A3281. Spansion S71PL129NC0HFW4B (copied from the |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
394 * Pirelli DP-L10) is our official flash+RAM chip, populated on |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
395 * our production boards, but now that we have fixed TI's autodetect |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
396 * code to work with the newer Spansion chips, we can support |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
397 * all 3 possibilities in our fw with autodetection: S71PL-J, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
398 * S71PL-N or K5A32xx. |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
399 * |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
400 * For future FreeCalypso hw designs, the Mother's plan is to |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
401 * keep the high-capacity S71PL129NC0HFW4B for the handset prototype |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
402 * and UI development board, but for embedded modem products |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
403 * we will probably switch to Openmoko's K5A32xx. |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
404 */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
405 |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
406 /* S71PL-N, FreeCalypso official, 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
|
407 { &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
|
408 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
|
409 |
557
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
410 /* S71PL-J, currently only theoretical */ |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
411 { &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
|
412 FFS_DRIVER_AMD, 32 }, |
7aad22344e77
flash autodetection made to work on FC and Pirelli targets
Mychaela Falconia <falcon@freecalypso.org>
parents:
542
diff
changeset
|
413 |
558
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
414 /* |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
415 * K5A32xxCTM from Openmoko, but note our different FFS config: |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
416 * if we are going to put this smaller flash chip into our embedded |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
417 * modem products, let's use it efficiently. |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
418 */ |
ddaa0263ea8e
FFS dev.c: more sensible FFS config for potential future
Mychaela Falconia <falcon@freecalypso.org>
parents:
557
diff
changeset
|
419 { &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
|
420 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
|
421 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
422 #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
|
423 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
424 /* 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
|
425 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
426 // 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
|
427 // 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
|
428 { &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
|
429 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
|
430 |
612
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
431 /* 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
|
432 { &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
|
433 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
|
434 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
435 // 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
|
436 // 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
|
437 { &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
|
438 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
|
439 |
612
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
440 /* 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
|
441 { &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
|
442 FFS_DRIVER_INTEL_SB, 3 }, |
0a845c97b8b4
C1xx aftermarket FFS: add ST equivalent of 28F320C3T
Mychaela Falconia <falcon@freecalypso.org>
parents:
606
diff
changeset
|
443 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
444 // 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
|
445 // 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
|
446 { &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
|
447 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
|
448 |
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
|
449 // 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
|
450 // 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
|
451 { &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
|
452 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
|
453 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
454 #else |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
455 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
456 /* original table from TI/Openmoko, used on TI and Openmoko targets */ |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
457 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
458 /********** 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
|
459 |
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
460 #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
|
461 // AMD Am29DL640F. Ignoring the 8kB sectors |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
462 // 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
|
463 { &flash_16x64[0], (char *) 0x01800000, MANUFACT_AMD, 0x2100, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
464 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
|
465 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
466 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
467 // AMD Am29DL640G. Ignoring the 8kB sectors |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
468 // 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
|
469 { &flash_16x64[0], (char *) 0x700000, MANUFACT_AMD, 0x0201, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
470 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
471 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
472 // 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
|
473 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
474 // AMD Am29DL322DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
475 { &flash_16x64[0], (char *) 0x380000, MANUFACT_AMD, 0x2255, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
476 FFS_DRIVER_AMD_SB, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
477 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
478 // AMD Am29DL323DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
479 { &flash_16x64[0], (char *) 0x300000, MANUFACT_AMD, 0x2250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
480 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
481 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
482 // AMD Am29DL161DT. Using 8x8kB sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
483 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_AMD, 0x2236, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
484 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
485 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
486 // AMD Am29DL162DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
487 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_AMD, 0x222D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
488 FFS_DRIVER_AMD, 3 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
489 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
490 // AMD Am29DL163DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
491 { &flash_16x64[0], (char *) 0x180000, MANUFACT_AMD, 0x2228, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
492 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
493 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
494 // AMD Am29DL164DT. Ignoring the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
495 { &flash_16x64[0], (char *) 0x100000, MANUFACT_AMD, 0x2233, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
496 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
497 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
498 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
499 /********** Fujitsu Devices *******************************************/ |
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 // Fujitsu MBM29DL321TD. Using 8x8kB sectors. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
502 { &flash_8x8[0], (char *) 0x3f0000, MANUFACT_FUJITSU, 0x2259, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
503 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
504 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
505 // Fujitsu MBM29DL322TD. Ignoring all the 8kB sectors |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
506 { &flash_16x64[0], (char *) 0x380000, MANUFACT_FUJITSU, 0x2255, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
507 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
508 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
509 // Fujitsu MBM29DL323TD (BSample). Dual bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
510 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x2250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
511 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
512 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
513 // Fujitsu MBM29DL161DT (similar to Am29DL161T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
514 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_FUJITSU, 0x2236, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
515 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
516 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
517 // Fujitsu MBM29DL162DT (similar to Am29DL162T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
518 { &flash_16x64[0], (char *) 0x1C0000, MANUFACT_FUJITSU, 0x222D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
519 FFS_DRIVER_AMD, 3 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
520 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
521 // Fujitsu MBM29DL163DT (similar to Am29DL163T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
522 { &flash_16x64[0], (char *) 0x180000, MANUFACT_FUJITSU, 0x2228, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
523 FFS_DRIVER_AMD, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
524 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
525 // Fujitsu MBM29DL164DT (similar to Am29DL164T). |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
526 { &flash_16x64[0], (char *) 0x100000, MANUFACT_FUJITSU, 0x2233, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
527 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
528 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
529 /* This is the RITA flash configuration */ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
530 // Fujitsu MBM29DL320FB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
531 // 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
|
532 { &flash_16x64[0], (char *) 0x320000, MANUFACT_FUJITSU, 0x0A00, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
533 FFS_DRIVER_AMD_SB, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
534 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
535 // Fujitsu MBM29DL320FT |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
536 // 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
|
537 { &flash_16x64[0], (char *) 0x320000, MANUFACT_FUJITSU, 0x0A01, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
538 FFS_DRIVER_AMD_SB, 13 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
539 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
540 // Fujitsu MBM29DL640F, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
541 // 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
|
542 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x2100, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
543 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
544 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
545 // Fujitsu 84VF5F5F4J2, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
546 // 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
|
547 { &flash_16x64[0], (char *) 0x700000, MANUFACT_FUJITSU, 0x0201, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
548 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
549 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
550 #ifdef CONFIG_TARGET_LEONARDO |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
551 // 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
|
552 // 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
|
553 // blocks are used. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
554 { &flash_128x64[0], (char *) 0x1810000, MANUFACT_FUJITSU, 0xB496, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
555 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
|
556 #endif |
0
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 /********** Intel Devices *********************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
559 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
560 // 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
|
561 { &flash_8x8[0], (char *) 0x1F0000, MANUFACT_INTEL, 0x88C2, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
562 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
|
563 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
564 // 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
|
565 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x88C3, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
566 FFS_DRIVER_INTEL_SB, 6 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
567 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
568 // 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
|
569 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_INTEL, 0x88C4, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
570 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
571 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
572 // 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
|
573 { &flash_16x64[0], (char *) 0x380000, MANUFACT_INTEL, 0x88C5, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
574 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
575 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
576 // 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
|
577 { &flash_8x8[0], (char *) 0x7F0000, MANUFACT_INTEL, 0x88CC, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
578 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
579 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
580 // 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
|
581 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88CD, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
582 FFS_DRIVER_INTEL_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
583 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
584 // 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
|
585 { &flash_8x8[0], (char *) 0x7F0000, MANUFACT_INTEL, 0x8854, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
586 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
587 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
588 // 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
|
589 // { &flash_128x64[0], (char *) 0x500000, MANUFACT_INTEL, 0x8855, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
590 // FFS_DRIVER_INTEL_SB, 47 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
591 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
592 // 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
|
593 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x8855, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
594 FFS_DRIVER_INTEL, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
595 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
596 // 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
|
597 { &flash_16x64[0], (char *) 0x700000, MANUFACT_INTEL, 0x88FF, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
598 FFS_DRIVER_INTEL_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
599 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
600 /********** MXIC Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
601 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
602 // 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
|
603 { &flash_8x8[0], (char *) 0x3F0000, MANUFACT_MXIC, 0x0024, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
604 FFS_DRIVER_INTEL_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
605 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
606 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
607 /********** Samsung Devices *******************************************/ |
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 // Samsung K5A3240YT Top boot, 24Mb + 8Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
610 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22B7, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
611 FFS_DRIVER_AMD_SB, 7 }, |
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 // Samsung K5A3340YT Top boot, 16Mb + 16Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
614 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x22BA, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
615 FFS_DRIVER_AMD_SB, 7 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
616 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
617 // Samsung K5A3240YB Bottom boot, 8Mb + 24Mb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
618 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x223F, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
619 FFS_DRIVER_AMD_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
620 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
621 // Samsung K5A3340YB Bottom boot, 14Mb + 18Mb (!?) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
622 { &flash_16x64[0], (char *) 0x380000, MANUFACT_SAMSUNG, 0x223D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
623 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
|
624 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
625 /* post-TI additions */ |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
626 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
627 // Samsung K5A32xxCTM (Openmoko) |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
628 { &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
|
629 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
|
630 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
631 // Samsung K5L33xxCAM (Huawei GTM900) |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
632 // 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
|
633 { &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
|
634 FFS_DRIVER_AMD_SB, 7 }, |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
635 |
de936aea260a
FFS: added Multi-ID support for Samsung flash chips
Mychaela Falconia <falcon@freecalypso.org>
parents:
602
diff
changeset
|
636 // 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
|
637 // 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
|
638 { &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
|
639 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
640 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
641 /********** SST Devices ***********************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
642 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
643 // SST SST36VF1601 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
644 { &flash_16x64[0], (char *) 0x180000, MANUFACT_SST, 0x2761, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
645 FFS_DRIVER_SST, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
646 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
647 /********** Toshiba Devices *******************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
648 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
649 // Toshiba TH50VSF2581AASB Bottom boot combo device |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
650 { &flash_16x64[0], (char *) 0x380000, MANUFACT_TOSHIBA, 0x009C, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
651 FFS_DRIVER_AMD, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
652 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
653 #endif |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
654 |
528
63cedcedea87
FFS dev.c flash device table reworked as described in TCS211-fw-arch
Mychaela Falconia <falcon@freecalypso.org>
parents:
476
diff
changeset
|
655 #if 0 |
0
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
656 /********** Special/Test Devices **************************************/ |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
657 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
658 // Intel 28F160C3-B, 16Mb. Single bank driver |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
659 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
660 { &flash_16x64[0], (char *) 0x1A0000, MANUFACT_INTEL, 0x01C3, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
661 FFS_DRIVER_INTEL_SB, 6 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
662 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
663 // Fujitsu MBM29DL323TD (BSample). Single bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
664 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
665 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x0150, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
666 FFS_DRIVER_AMD_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
667 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
668 // Fujitsu MBM29DL323TD (BSample). Pseudo single bank device definition. |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
669 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
670 { &flash_16x64[0], (char *) 0x300000, MANUFACT_FUJITSU, 0x0250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
671 FFS_DRIVER_AMD_PSEUDO_SB, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
672 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
673 // Fujitsu MBM29DL323TD (BSample). "True" single bank device definition |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
674 // within first flash device bank! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
675 // Note that device ID is bogus! |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
676 { &flash_16x64[0], (char *) 0x280000, MANUFACT_FUJITSU, 0x0350, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
677 FFS_DRIVER_AMD_SB, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
678 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
679 // AMD Am29DL323DT on EVA4 (base address = 0x200000) |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
680 { &flash_16x64[0], (char *) 0x500000, MANUFACT_AMD, 0xF250, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
681 FFS_DRIVER_AMD, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
682 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
683 // PC Test/Simulation flash 128x64kb |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
684 { &flash_128x64[0], (char *) 0x000000, MANUFACT_TEST, 0x0F12, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
685 FFS_DRIVER_TEST, 127 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
686 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
687 // PC Test/Simulation flash 16x64kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
688 { &flash_16x64[0], (char *) 0x000000, MANUFACT_TEST, 0x0F10, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
689 FFS_DRIVER_TEST, 15 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
690 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
691 // PC Test/Simulation flash 8x8kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
692 { &flash_8x8[0], (char *) 0x000000, MANUFACT_TEST, 0x080D, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
693 FFS_DRIVER_TEST, 8 }, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
694 |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
695 // PC Test/Simulation flash 4x4kB |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
696 { &flash_4x4[0], (char *) 0x000000, MANUFACT_TEST, 0x0404, |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
697 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
|
698 #endif |
0
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 // terminator |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
701 { 0, 0, 0, 0 } |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
702 }; |
945cf7f506b2
src/cs: chipsetsw import from tcs211-fcmodem
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
703 |