Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 23:35:10 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258197 - head/sys/dev/nand
Message-ID:  <201311152335.rAFNZAXm031642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Nov 15 23:35:10 2013
New Revision: 258197
URL: http://svnweb.freebsd.org/changeset/base/258197

Log:
  Update the onfi_params struct to ONFI revision 3.2 (06 12 2013).
  
  Submitted by:	Kristof Provost <kristof@sigsegv.be> (cleanup) and me (orig).

Modified:
  head/sys/dev/nand/nand.h

Modified: head/sys/dev/nand/nand.h
==============================================================================
--- head/sys/dev/nand/nand.h	Fri Nov 15 23:31:39 2013	(r258196)
+++ head/sys/dev/nand/nand.h	Fri Nov 15 23:35:10 2013	(r258197)
@@ -178,12 +178,17 @@ struct onfi_params {
 	uint16_t	rev;
 	uint16_t	features;
 	uint16_t	optional_commands;
-	uint8_t		res1[22];
+	uint8_t		primary_advanced_command;
+	uint8_t		res1;
+	uint16_t	extended_parameter_page_length;
+	uint8_t		parameter_page_count;
+	uint8_t		res2[17];
 	char		manufacturer_name[12];
 	char		device_model[20];
 	uint8_t		manufacturer_id;
-	uint16_t	date;
-	uint8_t		res2[13];
+	uint8_t		manufacture_date_yy;
+	uint8_t		manufacture_date_ww;
+	uint8_t		res3[13];
 	uint32_t	bytes_per_page;
 	uint16_t	spare_bytes_per_page;
 	uint32_t	bytes_per_partial_page;
@@ -202,7 +207,8 @@ struct onfi_params {
 	uint8_t		bits_of_ecc;
 	uint8_t		interleaved_addr_bits;
 	uint8_t		interleaved_oper_attr;
-	uint8_t		res3[13];
+	uint8_t		eznand_support;
+	uint8_t		res4[12];
 	uint8_t		pin_capacitance;
 	uint16_t	asynch_timing_mode_support;
 	uint16_t	asynch_prog_cache_timing_mode_support;
@@ -217,7 +223,12 @@ struct onfi_params {
 	uint16_t	input_capacitance;
 	uint8_t		input_capacitance_max;
 	uint8_t		driver_strength_support;
-	uint8_t		res4[12];
+	uint16_t	t_r_interleaved;
+	uint16_t	t_adl;
+	uint16_t	t_r_eznand;
+	uint8_t		nv_ddr2_features;
+	uint8_t		nv_ddr2_warmup_cycles;
+	uint8_t		res5[4];
 	uint16_t	vendor_rev;
 	uint8_t		vendor_spec[88];
 	uint16_t	crc;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311152335.rAFNZAXm031642>