[PATCH 5/9] Small updates for Freescale MPC52xx

From
Sylvain Munaut <hidden>
Date
2004-09-14 11:57:47
Also in
lkml
Reply to
Sylvain Munaut, 2004-09-14
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/14 00:25:36+02:00 tnt@246tNt.com
#   ppc: Fix spurious iounmap in Freescale MPC52xx syslib
#  #   Signed-off-by: Sylvain Munaut [off-list ref]
#
# arch/ppc/syslib/mpc52xx_setup.c
#   2004/09/14 00:25:27+02:00 tnt@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;
Thread (11 messages) 11 messages, 1 author, last reply 2004-09-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help