Commit:     544cdabe642e5508e784de709530a74d0775d070
Parent:     7401685242fbcbf4b0660726372c77a88c4af17d
Author:     John Traill <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 05:17:23 2007 +0400
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Wed Oct 3 20:36:36 2007 -0500

    [POWERPC] 8xx: Set initial memory limit.
    The 8xx can only support a max of 8M during early boot (it seems a lot of
    8xx boards only have 8M so the bug was never triggered), but the early
    allocator isn't aware of this.  The following change makes it able to run
    with larger memory.
    Signed-off-by: John Traill <[EMAIL PROTECTED]>
    Signed-off-by: Vitaly Bordug <[EMAIL PROTECTED]>
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
 arch/powerpc/mm/init_32.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 27c234f..977cb1e 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/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 */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to