summaryrefslogtreecommitdiff
path: root/programmer.h
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-12-29 19:26:55 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-12-29 19:26:55 +0000
commit8aab010bf4959341c7da646cc94ab8b2d5e48998 (patch)
tree107c653c18333a3ec211553a2f0d64385dc9fb4a /programmer.h
parent7c5bdc6239a0756380589bdabfc0ffd2d20493b4 (diff)
downloadflashrom-8aab010bf4959341c7da646cc94ab8b2d5e48998.tar.gz
Simplify hwaccess.c.
Previously the code was focused on architectures which led to lots of duplicate code and spread the information regarding differences between the architectures accross the file. With this patch there is a single function header for any function and the differentiation between architectures (and OS where needed) happens in one place for each function. Also, this patch adds simple defines to bundle often used arch and os checks. A central check for unknown architectures and OSes has been added on top. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1638 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'programmer.h')
0 files changed, 0 insertions, 0 deletions