summaryrefslogtreecommitdiffstats
path: root/flashchips.c
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
commit21eedec3a628320acf61e561ae22320d4e4d6b48 (patch)
tree2db436c48d18bc2e8d41a4836491c2ac42eaab4b /flashchips.c
parentda65432eb6d5b374c32a02e86e06b0938a977920 (diff)
downloadast2050-flashrom-21eedec3a628320acf61e561ae22320d4e4d6b48.zip
ast2050-flashrom-21eedec3a628320acf61e561ae22320d4e4d6b48.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>
Diffstat (limited to 'flashchips.c')
-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