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

From: Daniel Tang
Date: Mon May 27 2013 - 00:07:21 EST



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?

Cheers,
Daniel Tang

--
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/