summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-03-08 07:17:44 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-03-08 07:17:44 +0000
commitd9b2044f9981b420119032717ca39cd5ef572781 (patch)
tree726389fc8d2e3875645d8a3774f9899c4009faf0 /spi.c
parent2fdef8e551b6c1c3f9b82372a497ba7f3240c097 (diff)
downloadflashrom-d9b2044f9981b420119032717ca39cd5ef572781.zip
flashrom-d9b2044f9981b420119032717ca39cd5ef572781.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 Tested-with-DOS-crosscompiler-by: Idwer Vollering <vidwer@gmail.com> Corresponding to flashrom svn r1280. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
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"
OpenPOWER on IntegriCloud