Hi,
Here is a patch that contains some clean up for bootmem_init() function. It should be (...well I hope so :-) ) a little bit more readable than previous versions.
Now IP27's specific code could be easly moved into its boot memory init. Look for FIXME pattern...
Franck.