From bdf32a50df23b9d91e6e196a9add429af457e841 Mon Sep 17 00:00:00 2001 From: hailfinger Date: Mon, 25 Jul 2011 22:07:05 +0000 Subject: satamv and atahpt require PCI port I/O which isn't currently supported on any architecture except x86/x86_64. Generate the same compiler error as other programmer drivers. Signed-off-by: Andrew Morgan Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- satamv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'satamv.c') 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 #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 -- cgit v1.2.1