From: Damjan Marion Date: Sat, 28 May 2011 16:58:06 +0000 (+0200) Subject: Fixed values for Samung NAND chips X-Git-Tag: v0.5.0-rc1~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9b4628ddab8d17c186b46bce86e38cac72800222;p=openocd Fixed values for Samung NAND chips --- diff --git a/src/flash/nand/core.c b/src/flash/nand/core.c index c4d92482..03deabd4 100644 --- a/src/flash/nand/core.c +++ b/src/flash/nand/core.c @@ -53,8 +53,8 @@ void nand_device_add(struct nand_device *c) static struct nand_info nand_flash_ids[] = { /* Vendor Specific Entries */ - { NAND_MFR_SAMSUNG, 0xD5, 0, 8192, 0, LP_OPTIONS, "K9GAG08 2GB NAND 3.3V x8 MLC 2b/cell"}, - { NAND_MFR_SAMSUNG, 0xD7, 0, 8192, 0, LP_OPTIONS, "K9LBG08/K9HCG08 4/8GB NAND 3.3V x8 MLC 2b/cell"}, + { NAND_MFR_SAMSUNG, 0xD5, 8192, 2048, 0x100000, LP_OPTIONS, "K9GAG08 2GB NAND 3.3V x8 MLC 2b/cell"}, + { NAND_MFR_SAMSUNG, 0xD7, 8192, 4096, 0x100000, LP_OPTIONS, "K9LBG08 4GB NAND 3.3V x8 MLC 2b/cell"}, /* start "museum" IDs */ { 0x0, 0x6e, 256, 1, 0x1000, 0, "NAND 1MiB 5V 8-bit"},