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

Arnd Bergmann arnd at arndb.de
Mon May 27 02:56:19 EDT 2013


On Monday 27 May 2013, Daniel Tang wrote:
> 
> On 27/05/2013, at 6:46 AM, Arnd Bergmann <arnd at 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



More information about the linux-arm-kernel mailing list