summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/82802ab.c6
-rw-r--r--util/flashrom/sharplhf00l04.c4
-rw-r--r--util/flashrom/sst28sf040.c2
-rw-r--r--util/flashrom/sst49lf040.c4
-rw-r--r--util/flashrom/sst49lfxxxc.c2
-rw-r--r--util/flashrom/sst_fwhub.c5
6 files changed, 5 insertions, 18 deletions
diff --git a/util/flashrom/82802ab.c b/util/flashrom/82802ab.c
index 2dacfa30a1..53930eec65 100644
--- a/util/flashrom/82802ab.c
+++ b/util/flashrom/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/util/flashrom/sharplhf00l04.c b/util/flashrom/sharplhf00l04.c
index 1caedd0b67..0eacd38577 100644
--- a/util/flashrom/sharplhf00l04.c
+++ b/util/flashrom/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/util/flashrom/sst28sf040.c b/util/flashrom/sst28sf040.c
index 31d1e9c591..f2d8167de0 100644
--- a/util/flashrom/sst28sf040.c
+++ b/util/flashrom/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/util/flashrom/sst49lf040.c b/util/flashrom/sst49lf040.c
index 3abb4231b6..682c2fe3b9 100644
--- a/util/flashrom/sst49lf040.c
+++ b/util/flashrom/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/util/flashrom/sst49lfxxxc.c b/util/flashrom/sst49lfxxxc.c
index 16f84df4a1..edb5493b5d 100644
--- a/util/flashrom/sst49lfxxxc.c
+++ b/util/flashrom/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/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c
index b828ceef3b..e9d0104665 100644
--- a/util/flashrom/sst_fwhub.c
+++ b/util/flashrom/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"