summaryrefslogtreecommitdiff
path: root/spi.c
diff options
context:
space:
mode:
authoroxygene <oxygene@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-03-08 07:17:44 +0000
committeroxygene <oxygene@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-03-08 07:17:44 +0000
commitb4fdc4bf4b80579f3f0dde4c2b801f65dd24234b (patch)
tree726389fc8d2e3875645d8a3774f9899c4009faf0 /spi.c
parent9c2315a241c8f272d1d38030ad88b899d4a0250d (diff)
downloadflashrom-b4fdc4bf4b80579f3f0dde4c2b801f65dd24234b.tar.gz
Fix and improve libpayload platform support
- Fix various minor compile issues (eg. include necessary standard headers) - Fix compilation of libpayload code paths - Provide libpayload support in Makefile - Add make target "libflashrom.a" which links non-CLI code to static library Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Tested-with-DOS-crosscompiler-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1280 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi.c')
-rw-r--r--spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/spi.c b/spi.c
index 79b5ad5..7e9ff1a 100644
--- a/spi.c
+++ b/spi.c
@@ -22,6 +22,7 @@
* Contains the generic SPI framework
*/
+#include <strings.h>
#include <string.h>
#include "flash.h"
#include "flashchips.h"