Re: [PATCH 1/6] ARM: Add basic architecture support for VIA/WonderMedia 85xx SoC's

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Friday, October 22, 2010 - 2:02 am

On Thursday 21 October 2010 23:08:39 Alexey Charkov wrote:

Sounds reasonable to me.
 

Well, you could still build a specialized kernel with only support for
one resolution if you care about every byte.


Ideally those should also be run-time decisions so you can build a
kernel that works on both. It's all __init code, so it won't eat
up any RAM afterwards.


For the IO_SPACE_LIMIT, just make it 0xffff

For __io, you need to find a place in your virtual address space
and map the real IO space.

According to the VIA source code, the physical I/O window is at
0xd8000000, they also map it to the same address in virtual space
but you can have anywhere convienient.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/6] ARM: Add basic architecture support for VI ..., Arnd Bergmann, (Fri Oct 22, 2:02 am)