[U-Boot-Users] [PATCH] Flash IDs for STM M28W320CB

Andreas Oberritter obi at saftware.de
Sat Jul 19 04:19:51 CEST 2003


A trivial patch for include/flash.h

Changelog:

Patch by Andreas Oberritter, 19 July 03:
 - Add IDs for STM M28W320CB 32MBit flash type
-------------- next part --------------
--- u-boot-0.4.0.orig/include/flash.h	2003-06-20 01:40:31.000000000 +0200
+++ u-boot-0.4.0/include/flash.h	2003-07-19 04:08:41.000000000 +0200
@@ -182,6 +182,7 @@
 #define STM_ID_29W320DT 0x22CA22CA	/* M29W320DT ID (32 M, top boot sector) */
 #define STM_ID_29W320DB 0x22CB22CB	/* M29W320DB ID (32 M, bottom boot sect)	*/
 #define STM_ID_29W040B	0x00E300E3	/* M29W040B ID (4M = 512K x 8)	*/
+#define STM_ID_28W320CB 0x88BB88BB	/* M28W320CB ID (4M = 256K x 16, bottom)*/
 
 #define INTEL_ID_28F016S    0x66a066a0	/* 28F016S[VS] ID (16M = 512k x 16)	*/
 #define INTEL_ID_28F800B3T  0x88928892	/*  8M = 512K x 16 top boot sector	*/
@@ -266,6 +267,7 @@
 #define FLASH_STM800AB	0x0051		/* STM M29WF800AB  (  8M = 512K x 16 )	*/
 #define FLASH_STMW320DT 0x0052		/* STM M29W320DT   (32 M, top boot sector)	*/
 #define FLASH_STMW320DB 0x0053		/* STM M29W320DB   (32 M, bottom boot sect)*/
+#define FLASH_STM320CB	0x005D		/* STM M28W320CB (4M = 256K x 16, bottom)*/
 #define FLASH_STM320DB	0x00CB		/* STM M29W320DB (4M = 64K x 64, bottom)*/
 #define FLASH_STM800DT	0x00D7		/* STM M29W800DT (1M = 64K x 16, top)	*/
 #define FLASH_STM800DB	0x005B		/* STM M29W800DB (1M = 64K x 16, bottom)*/


More information about the U-Boot mailing list