summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 12:42:01 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 12:42:01 +0000
commit4a469a239ec45802f4d67f7acf14045b514d8c98 (patch)
tree2db436c48d18bc2e8d41a4836491c2ac42eaab4b
parentdb80e8c14f0935b6d212379fee90e2742f351380 (diff)
downloadflashrom-4a469a239ec45802f4d67f7acf14045b514d8c98.zip
flashrom-4a469a239ec45802f4d67f7acf14045b514d8c98.tar.gz
Improve flashchip comments to be more readable and precise
Corresponding to flashrom svn r665. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Luc Verhaegen <libv@skynet.be>
-rw-r--r--flashchips.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/flashchips.c b/flashchips.c
index e6b86a0..a9ddfbc 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -32,11 +32,20 @@
*/
struct flashchip flashchips[] = {
- /* Vendor, Chip, Vendor ID, Chip ID,
- * Bus Type,
- * Total size (kB), Page size (B),
- * Test status,
- * Probe function, Probe function timing, Erase function, Write function, Read function
+ /*
+ * .vendor = Vendor name
+ * .name = Chip name
+ * .bustype = Supported flash bus types (Parallel, LPC...)
+ * .manufacture_id = Manufacturer chip ID
+ * .model_id = Model chip ID
+ * .total_size = Total size in (binary) kbytes
+ * .page_size = Page or eraseblock(?) size in bytes
+ * .tested = Test status
+ * .probe = Probe function
+ * .probe_timing = Probe function delay
+ * .erase = Chip erase function
+ * .write = Chip write function
+ * .read = Chip read function
*/
{
OpenPOWER on IntegriCloud