From 8ac1302b770d4a6676222376636aeb8614341e90 Mon Sep 17 00:00:00 2001 From: John Traill Date: Tue, 17 Jul 2007 05:17:23 +0400 Subject: [PATCH] --- yaml --- r: 67480 b: refs/heads/master c: 544cdabe642e5508e784de709530a74d0775d070 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/mm/init_32.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 55676289161f..e186e1af83c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7401685242fbcbf4b0660726372c77a88c4af17d +refs/heads/master: 544cdabe642e5508e784de709530a74d0775d070 diff --git a/trunk/arch/powerpc/mm/init_32.c b/trunk/arch/powerpc/mm/init_32.c index 27c234fb5118..977cb1ee5e72 100644 --- a/trunk/arch/powerpc/mm/init_32.c +++ b/trunk/arch/powerpc/mm/init_32.c @@ -132,6 +132,9 @@ void __init MMU_init(void) /* 601 can only access 16MB at the moment */ if (PVR_VER(mfspr(SPRN_PVR)) == 1) __initial_memory_limit = 0x01000000; + /* 8xx can only access 8MB at the moment */ + if (PVR_VER(mfspr(SPRN_PVR)) == 0x50) + __initial_memory_limit = 0x00800000; /* parse args from command line */ MMU_setup();