summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--82802ab.c6
-rw-r--r--sharplhf00l04.c4
-rw-r--r--sst28sf040.c2
-rw-r--r--sst49lf040.c4
-rw-r--r--sst49lfxxxc.c2
-rw-r--r--sst_fwhub.c5
6 files changed, 5 insertions, 18 deletions
diff --git a/82802ab.c b/82802ab.c
index 2dacfa3..53930ee 100644
--- a/82802ab.c
+++ b/82802ab.c
@@ -23,12 +23,8 @@
*
*/
-#include <errno.h>
-#include <fcntl.h>
-#include <sys/mman.h>
-#include <unistd.h>
#include <stdio.h>
-#include <stdlib.h>
+#include <stdint.h>
#include "flash.h"
#include "82802ab.h"
diff --git a/sharplhf00l04.c b/sharplhf00l04.c
index 1caedd0..0eacd38 100644
--- a/sharplhf00l04.c
+++ b/sharplhf00l04.c
@@ -22,10 +22,6 @@
* Reference: http://www.intel.com/design/chipsets/datashts/290658.htm
*/
-#include <errno.h>
-#include <fcntl.h>
-#include <sys/mman.h>
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/sst28sf040.c b/sst28sf040.c
index 31d1e9c..f2d8167 100644
--- a/sst28sf040.c
+++ b/sst28sf040.c
@@ -21,7 +21,7 @@
*
*
* Reference:
- * 4 MEgabit (512K x 8) SuperFlash EEPROM, SST28SF040 data sheet
+ * 4 Megabit (512K x 8) SuperFlash EEPROM, SST28SF040 data sheet
*
*/
diff --git a/sst49lf040.c b/sst49lf040.c
index 3abb423..682c2fe 100644
--- a/sst49lf040.c
+++ b/sst49lf040.c
@@ -19,9 +19,9 @@
*
*
* Reference:
- * 4 MEgabit (512K x 8) SuperFlash EEPROM, SST49lF040 data sheet
+ * 4 Megabit (512K x 8) SuperFlash EEPROM, SST49lF040 data sheet
*
- * ToDo: Consilidated to standard JEDEC code.
+ * TODO: Consilidated to standard JEDEC code.
*
*/
#include <stdio.h>
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index 16f84df..edb5493 100644
--- a/sst49lfxxxc.c
+++ b/sst49lfxxxc.c
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 Silicon Integrated System Corporation
- * Copyright 2005 coresystems GmbH <stepan@openbios.org>
+ * Copyright 2005-2007 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/sst_fwhub.c b/sst_fwhub.c
index b828cee..e9d0104 100644
--- a/sst_fwhub.c
+++ b/sst_fwhub.c
@@ -20,12 +20,7 @@
*
*/
-#include <errno.h>
-#include <fcntl.h>
-#include <sys/mman.h>
-#include <unistd.h>
#include <stdio.h>
-#include <stdlib.h>
#include "flash.h"
#include "jedec.h"
OpenPOWER on IntegriCloud