[PATCH 5/9] Small updates for Freescale MPC52xx

Sylvain Munaut tnt at 246tNt.com
Tue Sep 14 21:54:23 EST 2004


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/14 00:25:36+02:00 tnt at 246tNt.com
#   ppc: Fix spurious iounmap in Freescale MPC52xx syslib
#  
#   Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>
#
# arch/ppc/syslib/mpc52xx_setup.c
#   2004/09/14 00:25:27+02:00 tnt at 246tNt.com +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;




More information about the Linuxppc-dev mailing list