[RFC PATCH 4/7] powerpc: Let simpleboot function with non zero-based memory maps
Michal Simek
monstr at monstr.eu
Fri Jun 17 00:14:25 EST 2011
From: John Williams <john.williams at petalogix.com>
It is unnecessarily restrictive to fatal() if there is physical memory at a
non-zero base address.
Signed-off-by: John Williams <john.williams at petalogix.com>
---
arch/powerpc/boot/simpleboot.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/boot/simpleboot.c b/arch/powerpc/boot/simpleboot.c
index 21cd480..910ae05 100644
--- a/arch/powerpc/boot/simpleboot.c
+++ b/arch/powerpc/boot/simpleboot.c
@@ -56,11 +56,6 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
if (size < (*na+*ns) * sizeof(u32))
fatal("cannot get memory range\n");
- /* Only interested in memory based at 0 */
- for (i = 0; i < *na; i++)
- if (*reg++ != 0)
- fatal("Memory range is not based at address 0\n");
-
/* get the memsize and trucate it to under 4G on 32 bit machines */
memsize64 = 0;
for (i = 0; i < *ns; i++)
--
1.5.5.6
More information about the Linuxppc-dev
mailing list