2010-03-26 14:29:25 +00:00
|
|
|
--- a/board/ifx/danube/flash.c
|
|
|
|
+++ b/board/ifx/danube/flash.c
|
|
|
|
@@ -470,7 +470,10 @@ ulong flash_get_size (FPWV *addr, flash_
|
|
|
|
case (uchar)MX_MANUFACT: // 0x00c2
|
2010-03-19 11:22:07 +00:00
|
|
|
info->flash_id = FLASH_MAN_MX ;//0x00030000
|
|
|
|
break;
|
|
|
|
-
|
|
|
|
+ case (uchar)EON_MANUFACT:
|
|
|
|
+ printf("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
|
|
|
|
+ info->flash_id = FLASH_MAN_AMD ;
|
|
|
|
+ break;
|
|
|
|
default:
|
|
|
|
info->flash_id = FLASH_UNKNOWN;
|
2010-03-26 14:29:25 +00:00
|
|
|
info->sector_count = 0;
|
|
|
|
--- a/include/flash.h
|
|
|
|
+++ b/include/flash.h
|
|
|
|
@@ -130,6 +130,7 @@ extern void flash_read_factory_serial(fl
|
2010-03-19 11:22:07 +00:00
|
|
|
#define TOSH_MANUFACT 0x00980098 /* TOSHIBA manuf. ID in D23..D16, D7..D0 */
|
|
|
|
#define MT2_MANUFACT 0x002C002C /* alternate MICRON manufacturer ID*/
|
|
|
|
#define EXCEL_MANUFACT 0x004A004A /* Excel Semiconductor */
|
|
|
|
+#define EON_MANUFACT 0x0000007F
|
|
|
|
|
|
|
|
#define EON_ID_EN29LV320B 0x22f9
|
|
|
|
#define FLASH_29LV320B 0xE0
|