Switch remaining SPARC32 code over to OFMEM.
commitaad1c3aaca5c2c7ef0f64a75204081f9eea0e6ab
authormcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 2 Jan 2011 00:07:26 +0000 (2 00:07 +0000)
committermcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 2 Jan 2011 00:07:26 +0000 (2 00:07 +0000)
tree216fa81c885d487fcef63542c4acd25f08902c15
parent442da8da735a2a7f1fa7f89957587cd50322dab9
Switch remaining SPARC32 code over to OFMEM.

This patch removes the SPARC32-specific map_pages() function from the IOMMU driver, plus switches obp_dumb_memalloc()
over to use OFMEM. OFMEM property generation is enabled for the /memory and /virtual-memory nodes, and any remaining
traces of the old memory variables are removed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tested-by: Blue Swirl <blauwirbel@gmail.com>
Reviewed-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1009 f158a5a8-5612-0410-a976-696ce0be7e32
arch/sparc32/lib.c
drivers/iommu.c
include/libopenbios/ofmem.h