[include] autotools.mk: add yet another aclocal path
[openwrt.git] / package / uboot-ifxmips / patches / 120-eon_flash.patch
1 --- a/board/ifx/danube/flash.c
2 +++ b/board/ifx/danube/flash.c
3 @@ -470,7 +470,10 @@ ulong flash_get_size (FPWV *addr, flash_
4 case (uchar)MX_MANUFACT: // 0x00c2
5 info->flash_id = FLASH_MAN_MX ;//0x00030000
6 break;
7 -
8 + case (uchar)EON_MANUFACT:
9 + printf("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
10 + info->flash_id = FLASH_MAN_AMD ;
11 + break;
12 default:
13 info->flash_id = FLASH_UNKNOWN;
14 info->sector_count = 0;
15 --- a/include/flash.h
16 +++ b/include/flash.h
17 @@ -130,6 +130,7 @@ extern void flash_read_factory_serial(fl
18 #define TOSH_MANUFACT 0x00980098 /* TOSHIBA manuf. ID in D23..D16, D7..D0 */
19 #define MT2_MANUFACT 0x002C002C /* alternate MICRON manufacturer ID*/
20 #define EXCEL_MANUFACT 0x004A004A /* Excel Semiconductor */
21 +#define EON_MANUFACT 0x0000007F
22
23 #define EON_ID_EN29LV320B 0x22f9
24 #define FLASH_29LV320B 0xE0
This page took 0.040845 seconds and 5 git commands to generate.