aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-09-28 19:55:22 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-09-28 19:55:22 +0200
commit8374941aa31e1b22a7a6c574748e1914588e875f (patch)
tree6cc8c1dc202c878e2f6ade88c4195ee56b594233 /drivers
parentcfd8bd21b1e545c59490c029fb31902d61437853 (diff)
downloadbootable_bootloader_goldelico_gta04_x-loader-8374941aa31e1b22a7a6c574748e1914588e875f.zip
bootable_bootloader_goldelico_gta04_x-loader-8374941aa31e1b22a7a6c574748e1914588e875f.tar.gz
bootable_bootloader_goldelico_gta04_x-loader-8374941aa31e1b22a7a6c574748e1914588e875f.tar.bz2
recognize Micron MCP with 512 MB RAM/1GB NAND
Diffstat (limited to 'drivers')
-rw-r--r--drivers/k9f1g08r0a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/k9f1g08r0a.c b/drivers/k9f1g08r0a.c
index 988533c..611572a 100644
--- a/drivers/k9f1g08r0a.c
+++ b/drivers/k9f1g08r0a.c
@@ -46,6 +46,7 @@
#define MT29F1G_ID 0xa1 /* x8, 1GiB */
#define MT29F2G_ID 0xba /* x16, 2GiB */
#define MT29F4G_ID 0xbc /* x16, 4GiB */
+#define MT29F8G_ID 0xb3 /* x16, 8GiB */
#define ADDR_COLUMN 1
#define ADDR_PAGE 2
@@ -208,7 +209,7 @@ int nand_chip()
NAND_DISABLE_CE();
if (((mfr == MT29F1G_MFR || mfr == MT29F1G_MFR2 || mfr == MT29F1G_MFR3) &&
- (id == MT29F1G_ID || id == MT29F2G_ID || id == MT29F4G_ID)) ||
+ (id == MT29F1G_ID || id == MT29F2G_ID || id == MT29F4G_ID || id == MT29F8G_ID)) ||
(mfr == K9F1G08R0A_MFR && (id == K9F1G08R0A_ID))) {
return 0;
} else {