summaryrefslogtreecommitdiffstats
path: root/satamv.c
diff options
context:
space:
mode:
Diffstat (limited to 'satamv.c')
-rw-r--r--satamv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/satamv.c b/satamv.c
index 01919d0..c057a2e 100644
--- a/satamv.c
+++ b/satamv.c
@@ -19,6 +19,7 @@
*/
/* Datasheets are not public (yet?) */
+#if defined(__i386__) || defined(__x86_64__)
#include <stdlib.h>
#include "flash.h"
@@ -182,3 +183,7 @@ uint8_t satamv_chip_readb(const chipaddr addr)
{
return satamv_indirect_chip_readb(addr);
}
+
+#else
+#error PCI port I/O access is not supported on this architecture yet.
+#endif
OpenPOWER on IntegriCloud