From 0d974e7a9263696fe3bfc7293bb0e632594e0925 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 17 Jul 2010 12:54:09 +0000 Subject: Refine SPI bitbanging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the SPI bitbanging core to fix a subtle bug (which had no effect so far) and to make integration of the RayeR SPIPGM and Nvidia MCP6x/MCP7x SPI patches easier. Kill a few global variables and require explicit initialization of bitbanging delay. A big to Johannes Sjölund for testing an earlier version of the code as part of the Nvidia MCP6x/MCP7x SPI bitbanging patch. Corresponding to flashrom svn r1085. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher --- hwaccess.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hwaccess.h') diff --git a/hwaccess.h b/hwaccess.h index c38ee6f..a230fa1 100644 --- a/hwaccess.h +++ b/hwaccess.h @@ -176,6 +176,10 @@ cpu_to_be(64) #define __DARWIN__ #endif +/* Clarification about OUTB/OUTW/OUTL argument order: + * OUT[BWL](val, port) + */ + #if defined(__FreeBSD__) || defined(__DragonFly__) #include #define off64_t off_t -- cgit v1.1