Commit 22b090ed authored by Sylvain Munaut's avatar Sylvain Munaut Committed by Linus Torvalds

ppc: Fix spurious iounmap in Freescale MPC52xx syslib

Signed-off-by: default avatarSylvain Munaut <tnt@246tNt.com>
parent a45db3d6
......@@ -146,8 +146,6 @@ mpc52xx_find_end_of_memory(void)
if (((sdram_config_1 & 0x1f) >= 0x13) &&
((sdram_config_1 & 0xfff00000) == ramsize))
ramsize += 1 << ((sdram_config_1 & 0xf) + 17);
iounmap(mmap_ctl);
}
return ramsize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment