path: root/hwaccess.h
Commit message (Collapse)AuthorAgeFilesLines
* Various coding style and cosmetic changesUwe Hermann2010-03-131-14/+9
| | | | | | | | | | | | | - Fix coding-style, whitespace, and indentation in a few places. - Consistently use the same spelling ("Super I/O") everywhere. Corresponding to flashrom svn r933. - Make some flashrom stdout output look a bit nicer. Signed-off-by: Uwe Hermann <> Acked-by: Uwe Hermann <>
* Split internal.c into internal.c and hwaccess.cCarl-Daniel Hailfinger2010-02-121-4/+0
| | | | | | | | | | | | | | Linking in support for the internal programmer doesn't make sense if you only need hardware (ioport, memory) access. Note: This patch was created by "svn cp internal.c hwaccess.c" and then removing stuff from both files. That's why you can't apply the patch as-is before running the svn cp. Corresponding to flashrom svn r898. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Sean Nelson <>
* Enable -Wshadow, clean code for thatMichael Karcher2010-01-121-6/+6
| | | | | | | | | | | | | | This is not just for fun. We hit a real bug on BSD with the outl macros. The macro variable tmp collided with the tmp from outer scope. second revision, now also taking care of inb/inw/inl. While that shadowing did not introduce bugs (yet), of course it breaks the build on BSD when -Wshadow is enabled. Corresponding to flashrom svn r860. Signed-off-by: Michael Karcher <> Acked-by: Luc Verhaegen <>
* Add support for NetBSDJonathan A. Kollasch2010-01-081-0/+57
| | | | | | | Corresponding to flashrom svn r838. Signed-off-by: Jonathan A. Kollasch <> Acked-by: Carl-Daniel Hailfinger <>
* Split hardware access, OS abstraction and chip drivers out of flash.hCarl-Daniel Hailfinger2009-12-141-0/+99
This patch is only the first step, but it hopefully will make working with the code and especially porting to new platforms easier. Subsequent patches should move #includes for the newly created files hwaccess.h and chipdrivers.h from flash.h to the files which need them. Programmers should live in a separate header file as well. Tested-by: Idwer Vollering <> Corresponding to flashrom svn r799. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Sean Nelson <>
OpenPOWER on IntegriCloud