Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

From: Arnd Bergmann
Date: Mon May 27 2013 - 02:56:58 EST


On Monday 27 May 2013, Daniel Tang wrote:
>
> On 27/05/2013, at 6:46 AM, Arnd Bergmann <arnd@xxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/