summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorPhilipp Hug <philipp@hug.cx>2018-09-14 10:28:31 +0200
committerRonald G. Minnich <rminnich@gmail.com>2018-09-14 08:36:09 +0000
commit69acbbfd56b8c11eefd36584ef5026d946bcbdcb (patch)
tree422dfc26f019a866db5a8c1f8c41c3fb65abfb2d /src/arch/riscv
parent211ceb5976e06cd85ca1f65d7dea116a7d92d451 (diff)
arch/riscv: add missing endian.h header to io.h
Make it uniform as other architectures also include it in io.h Change-Id: I62c2d909c703f01cdaabdaaba344f82b6746f094 Signed-off-by: Philipp Hug <philipp@hug.cx> Reviewed-on: https://review.coreboot.org/28601 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/include/arch/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/riscv/include/arch/io.h b/src/arch/riscv/include/arch/io.h
index 9f672f9505..5f66a239b4 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>
#include <compiler.h>