Subject: [PATCH 5/9] Small updates for Freescale MPC52xx

From: Sylvain Munaut <[email-masked]>
Date: Tue, 14 Sep 2004 13:54:23 +0200

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/14 00:25:36+02:00 [email-masked]
#   ppc: Fix spurious iounmap in Freescale MPC52xx syslib
#  
#   Signed-off-by: Sylvain Munaut <[email-masked]>
#
# arch/ppc/syslib/mpc52xx_setup.c
#   2004/09/14 00:25:27+02:00 [email-masked] +0 -2
#   ppc: Fix spurious iounmap in Freescale MPC52xx syslib
#
diff -Nru a/arch/ppc/syslib/mpc52xx_setup.c 
b/arch/ppc/syslib/mpc52xx_setup.c
--- a/arch/ppc/syslib/mpc52xx_setup.c   2004-09-14 12:47:51 +02:00
+++ b/arch/ppc/syslib/mpc52xx_setup.c   2004-09-14 12:47:51 +02:00
@@ -148,8 +148,6 @@
                if (((sdram_config_1 & 0x1f) >= 0x13) &&
                                ((sdram_config_1 & 0xfff00000) == ramsize))
                        ramsize += 1 << ((sdram_config_1 & 0xf) + 17);
-
-               iounmap(mmap_ctl);
        }

        return ramsize;