summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <damjan.marion@gmail.com>2011-05-28 18:58:06 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-05-28 19:44:17 +0200
commit9b4628ddab8d17c186b46bce86e38cac72800222 (patch)
treef7fb314968bc245071d82a3eef97614b27b13582 /src
parentdb91a36fdd888f57f16bd86cd471764565810371 (diff)
downloadopenocd_libswd-9b4628ddab8d17c186b46bce86e38cac72800222.tar.gz
openocd_libswd-9b4628ddab8d17c186b46bce86e38cac72800222.tar.bz2
openocd_libswd-9b4628ddab8d17c186b46bce86e38cac72800222.tar.xz
openocd_libswd-9b4628ddab8d17c186b46bce86e38cac72800222.zip
Fixed values for Samung NAND chips
Diffstat (limited to 'src')
-rw-r--r--src/flash/nand/core.c4
1 files changed, 2 insertions, 2 deletions
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"},