summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm')
-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 e53729708d..9037ab91fd 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)