summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2012-12-29 19:26:55 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-29 19:26:55 +0000
commit6282966cc04525828b96273f373e3b105632776b (patch)
tree107c653c18333a3ec211553a2f0d64385dc9fb4a /flashchips.h
parent57794ac1580fc5efee3ba01a0c3e4539bb58d088 (diff)
downloadast2050-flashrom-6282966cc04525828b96273f373e3b105632776b.zip
ast2050-flashrom-6282966cc04525828b96273f373e3b105632776b.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. Corresponding to flashrom svn r1638. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud