flashrom: Abstract mmap() in physmap.c and only open /dev/mem on the first physmap...
authorStefan Reinauer <stepan@coresystems.de>
Mon, 26 Jan 2009 01:10:48 +0000 (01:10 +0000)
committerPeter Stuge <peter@stuge.se>
Mon, 26 Jan 2009 01:10:48 +0000 (01:10 +0000)
commit53ac3947db69be8c526958b07f59a24dbc3678be
treeafcde113a21fbc434c6751fcd1b39a9e85137073
parentac29d61a454f0562c5c63ea1f5e14f9068904bf0
flashrom: Abstract mmap() in physmap.c and only open /dev/mem on the first physmap() call.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/flashrom/Makefile
util/flashrom/cbtable.c
util/flashrom/chipset_enable.c
util/flashrom/flash.h
util/flashrom/flashrom.c
util/flashrom/physmap.c [new file with mode: 0644]