summaryrefslogtreecommitdiff
path: root/sst49lfxxxc.c
diff options
context:
space:
mode:
authorstepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2007-02-06 19:47:50 +0000
committerstepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2007-02-06 19:47:50 +0000
commitc9d834c85dab74e14f8256f471b6d0a735272288 (patch)
tree53d889789d8317e36e0f3238902e3d268fd5d05e /sst49lfxxxc.c
parentabb9c46674353d90cae83b65193fb2ef91718bd7 (diff)
downloadflashrom-c9d834c85dab74e14f8256f471b6d0a735272288.tar.gz
Original v2 revision: 2550
This patch is a rework of Adam Kaufman's Solaris patch. * flash.h: - add a license header - add system definitions * flash_enable.c: - put io priviledge access in one single place - add includes required for Solaris. * lbtable.c, flash_rom.c, 82802ab.c: - use MEM_DEV so it works on Solaris * sst49lfxxxc.c, sharplhf00l04.c, sst_fwhub.c, 82802ab.c - drop unneeded include to sys/io.h * Makefile - adapt to Solaris specifics. Signed-off-by: Adam Kaufman <adam.kaufman@pinnacle.com> Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Adam Kaufman <adam.kaufman@pinnacle.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@88 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r--sst49lfxxxc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index cd29d0b..4486186 100644
--- a/sst49lfxxxc.c
+++ b/sst49lfxxxc.c
@@ -28,11 +28,11 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>
-#include <sys/io.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+
#include "flash.h"
#include "jedec.h"
#include "debug.h"