aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/include/arch/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/include/arch/io.h b/src/arch/arm/include/arch/io.h
index e53729708..9037ab91f 100644
--- a/src/arch/arm/include/arch/io.h
+++ b/src/arch/arm/include/arch/io.h
@@ -33,6 +33,8 @@
*/
#define readb(a) read8(a)
#define writeb(v,a) write8(v,a)
+#define readw(a) read16(a)
+#define writew(v,a) write16(v,a)
#define readl(a) read32(a)
#define writel(v,a) write32(v,a)