On Monday 27 May 2013, Daniel Tang wrote: > > On 27/05/2013, at 6:46 AM, Arnd Bergmann <a...@arndb.de> wrote: > > > > > >> + { > >> + .virtual = NSPIRE_PWR_VIRT_BASE, > >> + .pfn = __phys_to_pfn(NSPIRE_PWR_PHYS_BASE), > >> + .length = SZ_4K, > >> + .type = MT_DEVICE > >> + } > >> +}; > > > > And I think this one can be replaced with a call to of_iomap: > > Does of_iomap work that early in the boot process?
Not from map_io, but soon after. What is the fist place you really need it? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/