Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code | Date | Mon, 27 May 2013 08:56:19 +0200 |
| |
On Monday 27 May 2013, Daniel Tang wrote: > > On 27/05/2013, at 6:46 AM, Arnd Bergmann <arnd@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
| |