summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ichspi.c')
-rw-r--r--ichspi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ichspi.c b/ichspi.c
index 8add13e..e9a3611 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -33,6 +33,8 @@
*
*/
+#if defined(__i386__) || defined(__x86_64__)
+
#include <string.h>
#include "flash.h"
#include "chipdrivers.h"
@@ -832,3 +834,5 @@ int ich_spi_send_multicommand(struct spi_command *cmds)
}
return ret;
}
+
+#endif
OpenPOWER on IntegriCloud