[flashrom] [PATCH] Simplify hwaccess.c.
Stefan Tauner
stefan.tauner at student.tuwien.ac.at
Sat Dec 29 20:27:42 CET 2012
On Sun, 26 Aug 2012 20:59:25 +0200
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:
> 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. 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 at gmail.com>
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
self-acked and committed in r1638. thanks again, peter!
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list