Philipp Hug has uploaded this change for review. ( https://review.coreboot.org/28601
Change subject: arch/riscv: add missing endian.h header to io.h ......................................................................
arch/riscv: add missing endian.h header to io.h
Change-Id: I62c2d909c703f01cdaabdaaba344f82b6746f094 Signed-off-by: Philipp Hug philipp@hug.cx --- M src/arch/riscv/include/arch/io.h 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/28601/1
diff --git a/src/arch/riscv/include/arch/io.h b/src/arch/riscv/include/arch/io.h index a19f4b5..fa52c5e 100644 --- a/src/arch/riscv/include/arch/io.h +++ b/src/arch/riscv/include/arch/io.h @@ -14,6 +14,7 @@ #ifndef _ASM_IO_H #define _ASM_IO_H
+#include <endian.h> #include <stdint.h>
static inline __attribute__((always_inline)) uint8_t read8(const volatile void *addr)