aboutsummaryrefslogtreecommitdiff
path: root/hdata/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdata/memory.c')
-rwxr-xr-xhdata/memory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hdata/memory.c b/hdata/memory.c
index 7ce9275..f2c4405 100755
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -514,6 +514,9 @@ static void add_memory_buffer_mmio(const struct HDIF_common_hdr *msarea)
struct dt_node *membuf;
uint64_t *reg, *flags;
+ if (PVR_TYPE(mfspr(SPR_PVR)) != PVR_TYPE_P9P)
+ return;
+
if (be32_to_cpu(msarea->version) < 0x50) {
prlog(PR_WARNING, "MS AREA: Inconsistent MSAREA version %x for P9P system",
be32_to_cpu(msarea->version));