From: John Williams <john.willi...@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.willi...@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

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to