From 7b37a08b8269cda99d8093a20fc621fd7aae5ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 9 Apr 2018 17:23:53 +0200 Subject: arch/riscv: Remove I/O space access functions (outb, etc.) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RISC-V does not have the kind of I/O space that x86 has. Other architectures tend to leave out these definitions as well. Change-Id: I7328dae1f1fa4ef8772750244a0b11a3fa5aa88f Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/25566 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/arch/riscv/include/arch/io.h | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'src/arch') diff --git a/src/arch/riscv/include/arch/io.h b/src/arch/riscv/include/arch/io.h index 5bc10c0cd4..a19f4b5334 100644 --- a/src/arch/riscv/include/arch/io.h +++ b/src/arch/riscv/include/arch/io.h @@ -16,35 +16,6 @@ #include -static inline void outb(uint8_t value, uint16_t port) -{ -} - -static inline void outw(uint16_t value, uint16_t port) -{ -} - -static inline void outl(uint32_t value, uint16_t port) -{ -} - - -static inline uint8_t inb(uint16_t port) -{ - return 0; -} - - -static inline uint16_t inw(uint16_t port) -{ - return 0; -} - -static inline uint32_t inl(uint16_t port) -{ - return 0; -} - static inline __attribute__((always_inline)) uint8_t read8(const volatile void *addr) { return *((volatile uint8_t *)(addr)); -- cgit v1.2.3