summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
authorIonela Voinescu <ionela.voinescu@imgtec.com>2015-07-24 14:29:06 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-31 17:32:24 +0100
commit7100cf2b404887e4f196286e72232153ba3f0524 (patch)
tree0c0f6f4d436240c097a183b087f2e7fe025bc9b5 /src/arch/mips
parent1136447a37749135dfe172da56f9c06f3d50c664 (diff)
imgtec/pistachio: Add SOC_REGISTERS memory region
When used with a U-boot payload it will need this region identity mapped also, so we're defining it in preparation for that functionality. Change-Id: I27cee5b58cb899433b52bd06df07b5f2105212af Signed-off-by: Ionela Voinescu <ionela.voinescu@imgtec.com> Reviewed-on: https://review.coreboot.org/12768 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/include/arch/memlayout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/mips/include/arch/memlayout.h b/src/arch/mips/include/arch/memlayout.h
index 1fc7c74c93..fe05bd8ae5 100644
--- a/src/arch/mips/include/arch/memlayout.h
+++ b/src/arch/mips/include/arch/memlayout.h
@@ -26,4 +26,6 @@
#define DMA_COHERENT(addr, size) REGION(dma_coherent, addr, size, 4K)
+#define SOC_REGISTERS(addr, size) REGION(soc_registers, addr, size, 4)
+
#endif /* __ARCH_MEMLAYOUT_H */