svn commit: r260121 - head/sys/dev/nand
Warner Losh
imp at FreeBSD.org
Tue Dec 31 07:36:40 UTC 2013
Author: imp
Date: Tue Dec 31 07:36:39 2013
New Revision: 260121
URL: http://svnweb.freebsd.org/changeset/base/260121
Log:
Add support for Samsung K9F2G08U0A (256MiB SLC) NAND found on some old
Atmel boards I have.
# All Samsung, Toshiba and SanDisk parts will need to be in this table
# since they don't conform to the ONFI specification (they are all Toggle
# parts). There's some standards for the additional bytes so there's some hope
# to decode them automatically on a per-vendor basis, but even that has
# problems (and is what motivated the ONFI parameter page).
Modified:
head/sys/dev/nand/nand_id.c
Modified: head/sys/dev/nand/nand_id.c
==============================================================================
--- head/sys/dev/nand/nand_id.c Tue Dec 31 05:20:44 2013 (r260120)
+++ head/sys/dev/nand/nand_id.c Tue Dec 31 07:36:39 2013 (r260121)
@@ -39,6 +39,8 @@ struct nand_params nand_ids[] = {
0x400, 0x800, 0x40, 0x40, 0 },
{ { NAND_MAN_SAMSUNG, 0xdc }, "Samsung NAND 512MiB 3,3V 8-bit",
0x200, 0x800, 0x40, 0x40, 0 },
+ { { NAND_MAN_SAMSUNG, 0xda }, "Samsung NAND 256MiB 3,3V 8-bit",
+ 0x100, 0x800, 0x40, 0x40, 0 },
{ { NAND_MAN_HYNIX, 0x76 }, "Hynix NAND 64MiB 3,3V 8-bit",
0x40, 0x200, 0x10, 0x20, 0 },
{ { NAND_MAN_HYNIX, 0xdc }, "Hynix NAND 512MiB 3,3V 8-bit",
More information about the svn-src-head
mailing list