summaryrefslogtreecommitdiffstats
path: root/package/uboot-ifxmips/patches/120-eon_flash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/uboot-ifxmips/patches/120-eon_flash.patch')
-rw-r--r--package/uboot-ifxmips/patches/120-eon_flash.patch20
1 files changed, 8 insertions, 12 deletions
diff --git a/package/uboot-ifxmips/patches/120-eon_flash.patch b/package/uboot-ifxmips/patches/120-eon_flash.patch
index 0a2624c72..0b0da3c69 100644
--- a/package/uboot-ifxmips/patches/120-eon_flash.patch
+++ b/package/uboot-ifxmips/patches/120-eon_flash.patch
@@ -1,9 +1,7 @@
-Index: u-boot-1.1.5/board/ifx/danube/flash.c
-===================================================================
---- u-boot-1.1.5.orig/board/ifx/danube/flash.c 2010-03-19 12:12:27.000000000 +0100
-+++ u-boot-1.1.5/board/ifx/danube/flash.c 2010-03-19 12:12:30.000000000 +0100
-@@ -477,7 +477,10 @@
- printf("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
+--- 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
info->flash_id = FLASH_MAN_MX ;//0x00030000
break;
-
@@ -12,13 +10,11 @@ Index: u-boot-1.1.5/board/ifx/danube/flash.c
+ info->flash_id = FLASH_MAN_AMD ;
+ break;
default:
- printf("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
info->flash_id = FLASH_UNKNOWN;
-Index: u-boot-1.1.5/include/flash.h
-===================================================================
---- u-boot-1.1.5.orig/include/flash.h 2010-03-19 12:16:23.000000000 +0100
-+++ u-boot-1.1.5/include/flash.h 2010-03-19 12:16:48.000000000 +0100
-@@ -130,6 +130,7 @@
+ info->sector_count = 0;
+--- a/include/flash.h
++++ b/include/flash.h
+@@ -130,6 +130,7 @@ extern void flash_read_factory_serial(fl
#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 */