1 #ifndef CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL
2 #define CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL
3 //==========================================================================
7 // Flash programming to support NAND flash on Freescale MXC platforms
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.
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.
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
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.
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.
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.
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####
45 // Author(s): Kevin Zhang <k.zhang@freescale.com>
46 // Contributors: Kevin Zhang <k.zhang@freescale.com>
51 //####DESCRIPTIONEND####
53 //==========================================================================
56 device_id : 0x35ec, // Samsung K9F5608x0C (on EVB SDR memory card)
65 device_size: 0x2000000,
66 base_mask : ~(0x2000000 - 1),
67 port_size : MXC_NAND_8_BIT,
69 vendor_info: "Samsung K9F5608x0C 8-bit 512B page 32MB",
72 device_id : 0x36ec, // Samsung K9F1208R0B (on MXC91131 EVB mem1)
81 device_size: 0x4000000,
82 base_mask : ~(0x4000000 - 1),
83 port_size : MXC_NAND_8_BIT,
85 vendor_info: "Samsung K9F1208R0B 8-bit 512B page 128MB",
88 device_id : 0x79ec, // Samsung K9K1G08x0B (MX31 ADS 512B page 8 bit)
96 block_count: 4096 * 2,
97 device_size: 0x4000000 * 2,
98 base_mask : ~(0x4000000 * 2 - 1),
99 port_size : MXC_NAND_8_BIT,
101 vendor_info: "Samsung K9K1G08x0B 8-bit 512B page 128MB",
104 device_id : 0xf1ec, // Samsung K9F1G08U0A (MX31 ADS 2KB page 8 bit nand)
110 pages_per_block : 64,
111 block_size : 64*2*1024,
113 device_size: 128*1024*1024, // 128MB device =0x08000000
114 port_size : MXC_NAND_8_BIT,
115 base_mask : ~(0x08000000 - 1),
117 vendor_info: "Samsung K9F1G08U0A 8-bit 2K page 128MB",
120 device_id : 0xa1ec, // Samsung K9F1G08R0A (2KB page 8 bit nand)
126 pages_per_block : 64,
127 block_size : 64*2*1024,
129 device_size: 0x08000000, // 128MB device =0x08000000
130 port_size : MXC_NAND_8_BIT,
131 base_mask : ~(0x08000000 - 1),
133 vendor_info: "Samsung K9F1G08R0A 8-bit 2K page 128MB",
136 device_id : 0xd5ec, // Samsung K9LAG08U0M (2KB page 2G x 8 bit MLC nand)
142 pages_per_block : 128,
143 block_size : 128*2*1024,
145 device_size: 0x80000000, // 2GB device =0x8000,0000
146 port_size : MXC_NAND_8_BIT,
147 base_mask : ~(0x80000000 - 1),
149 vendor_info: "Samsung K9LAG08U0M 8-bit 2K page 2GB MLC",
152 device_id : 0xAD, // Hynix HYD0SQH0MF3(P) (2KB page 2G x 16 bit MLC nand)
158 pages_per_block : 64,
159 block_size : 64*2*1024,
161 device_size: 0x08000000, // 128MB device =0x0800,0000
162 port_size : MXC_NAND_16_BIT,
163 base_mask : ~(0x08000000 - 1),
165 vendor_info: "Hynix HYD0SQH0MF3",
167 #endif // CYGONCE_DEVS_FLASH_MXC_NAND_PARTS_INL