]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/devs/flash/arm/mxc/v2_0/include/mxc_nand_parts.inl
9241b9de893ebf2d35b924369dad4f1dee4a8450
[karo-tx-redboot.git] / packages / devs / flash / arm / mxc / v2_0 / include / mxc_nand_parts.inl
1 #ifndef CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL
2 #define CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL
3 //==========================================================================
4 //
5 //      mxc_nfc.h
6 //
7 //      Flash programming to support NAND flash on Freescale MXC platforms
8 //
9 //==========================================================================
10 //####ECOSGPLCOPYRIGHTBEGIN####
11 // -------------------------------------------
12 // This file is part of eCos, the Embedded Configurable Operating System.
13 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
14 //
15 // eCos is free software; you can redistribute it and/or modify it under
16 // the terms of the GNU General Public License as published by the Free
17 // Software Foundation; either version 2 or (at your option) any later version.
18 //
19 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
20 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
22 // for more details.
23 //
24 // You should have received a copy of the GNU General Public License along
25 // with eCos; if not, write to the Free Software Foundation, Inc.,
26 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27 //
28 // As a special exception, if other files instantiate templates or use macros
29 // or inline functions from this file, or you compile this file and link it
30 // with other works to produce a work based on this file, this file does not
31 // by itself cause the resulting work to be covered by the GNU General Public
32 // License. However the source code for this file must still be made available
33 // in accordance with section (3) of the GNU General Public License.
34 //
35 // This exception does not invalidate any other reasons why a work based on
36 // this file might be covered by the GNU General Public License.
37 //
38 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
39 // at http://sources.redhat.com/ecos/ecos-license/
40 // -------------------------------------------
41 //####ECOSGPLCOPYRIGHTEND####
42 //==========================================================================
43 //#####DESCRIPTIONBEGIN####
44 //
45 // Author(s):    Kevin Zhang <k.zhang@freescale.com>
46 // Contributors: Kevin Zhang <k.zhang@freescale.com>
47 // Date:         2006-01-23
48 // Purpose:      
49 // Description:  
50 //              
51 //####DESCRIPTIONEND####
52 //
53 //==========================================================================
54
55     {
56         device_id  : 0x35ec, // Samsung K9F5608x0C (on EVB SDR memory card)
57         device_id2 : 0xFFFF,
58         device_id3 : 0xFFFF,
59         device_id4 : 0xFFFF,
60         page_size  : 512,
61         spare_size : 16,
62         pages_per_block : 32,
63         block_size : 0x4000,
64         block_count: 2048,
65         device_size: 0x2000000,
66         base_mask  : ~(0x2000000 - 1),
67         port_size  : MXC_NAND_8_BIT,
68         type       : NAND_SLC,
69         vendor_info: "Samsung K9F5608x0C 8-bit 512B page 32MB",
70     },
71     {
72         device_id  : 0x36ec, // Samsung K9F1208R0B (on MXC91131 EVB mem1)
73         device_id2 : 0xFFFF,
74         device_id3 : 0xFFFF,
75         device_id4 : 0xFFFF,
76         page_size  : 512,
77         spare_size : 16,
78         pages_per_block : 32,
79         block_size : 0x4000,
80         block_count: 4096,
81         device_size: 0x4000000,
82         base_mask  : ~(0x4000000 - 1),
83         port_size  : MXC_NAND_8_BIT,
84         type       : NAND_SLC,
85         vendor_info: "Samsung K9F1208R0B 8-bit 512B page 128MB",
86     },
87     {
88         device_id  : 0x79ec, // Samsung K9K1G08x0B (MX31 ADS 512B page 8 bit)
89         device_id2 : 0xFFFF,
90         device_id3 : 0xFFFF,
91         device_id4 : 0xFFFF,
92         page_size  : 512,
93         spare_size : 16,
94         pages_per_block : 32,
95         block_size : 0x4000,
96         block_count: 4096 * 2,
97         device_size: 0x4000000 * 2,
98         base_mask  : ~(0x4000000 * 2 - 1),
99         port_size  : MXC_NAND_8_BIT,
100         type       : NAND_SLC,
101         vendor_info: "Samsung K9K1G08x0B 8-bit 512B page 128MB",
102     },
103     {
104         device_id  : 0xf1ec, // Samsung K9F1G08U0A (MX31 ADS 2KB page 8 bit nand)
105         device_id2 : 0xFFFF,
106         device_id3 : 0xFFFF,
107         device_id4 : 0xFFFF,
108         page_size  : 512*4,
109         spare_size : 16*4,
110         pages_per_block : 64,
111         block_size : 64*2*1024,
112         block_count: 1024,
113         device_size: 128*1024*1024, // 128MB device =0x08000000
114         port_size  : MXC_NAND_8_BIT,
115         base_mask  : ~(0x08000000 - 1),
116         type       : NAND_SLC,
117         vendor_info: "Samsung K9F1G08U0A 8-bit 2K page 128MB",
118     },
119     {
120         device_id  : 0xa1ec, // Samsung K9F1G08R0A (2KB page 8 bit nand)
121         device_id2 : 0xFFFF,
122         device_id3 : 0xFFFF,
123         device_id4 : 0xFFFF,
124         page_size  : 512*4,
125         spare_size : 16*4,
126         pages_per_block : 64,
127         block_size : 64*2*1024,
128         block_count: 1024,
129         device_size: 0x08000000, // 128MB device =0x08000000
130         port_size  : MXC_NAND_8_BIT,
131         base_mask  : ~(0x08000000 - 1),
132         type       : NAND_SLC,
133         vendor_info: "Samsung K9F1G08R0A 8-bit 2K page 128MB",
134     },
135     {
136         device_id  : 0xd5ec, // Samsung K9LAG08U0M (2KB page 2G x 8 bit MLC nand)
137         device_id2 : 0x2555,
138         device_id3 : 0xFFFF,
139         device_id4 : 0xFFFF,
140         page_size  : 512*4,
141         spare_size : 16*4,
142         pages_per_block : 128,
143         block_size : 128*2*1024,
144         block_count: 8192,
145         device_size: 0x80000000, // 2GB device =0x8000,0000
146         port_size  : MXC_NAND_8_BIT,
147         base_mask  : ~(0x80000000 - 1),
148         type       : NAND_MLC,
149         vendor_info: "Samsung K9LAG08U0M 8-bit 2K page 2GB MLC",
150     },
151     {
152         device_id  : 0xAD, // Hynix HYD0SQH0MF3(P) (2KB page 2G x 16 bit MLC nand)
153         device_id2 : 0xB1,
154         device_id3 : 0x80,
155         device_id4 : 0x55,
156         page_size  : 512*4,
157         spare_size : 16*4,
158         pages_per_block : 64,
159         block_size : 64*2*1024,
160         block_count: 1024,
161         device_size: 0x08000000, // 128MB device =0x0800,0000
162         port_size  : MXC_NAND_16_BIT,
163         base_mask  : ~(0x08000000 - 1),
164         type       : NAND_MLC,
165         vendor_info: "Hynix HYD0SQH0MF3",
166     },
167 #endif // CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL