On Wednesday 26 February 2014 15:16:40 Arnd Bergmann wrote: > On Wednesday 26 February 2014 15:06:32 Uwe Kleine-König wrote: > > > It's more to the point. The first hunk hides the "Memory split" option > > > which is irrelevent on !MMU. We already know that PAGE_OFFSET should > > > be the same as PHYS_OFFSET for noMMU, so let's make that explicit. > > > Note that it already is by way of the bit in the last hunk - which as > > > a result of this change can now be removed... especially so as we have > > > nothing defining PAGE_OFFSET in arch/arm/*/include... > > > > Looks reasonable. Maybe we can also get rid of PLAT_PHYS_OFFSET then. > > I think we still need PLAT_PHYS_OFFSET for the configurations that cannot > use ARM_PATCH_PHYS_VIRT, which are: > > * Anything using XIP_KERNEL with MMU=y > * mach-realview with the custom __phys_to_virt hack > * ZBOOT_ROM Ah, nevermind. We need either PLAT_PHYS_OFFSET /or/ CONFIG_PHYS_OFFSET for these case, but we could in theory drop the former. Arnd -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html