[U-Boot] [PATCH v2] video: atmel/lcd: add LCD driver for Atmel new SoC
Bo Shen
voice.shen at atmel.com
Mon May 28 09:31:59 CEST 2012
Hi Anatolig,
On 5/25/2012 19:04, Anatolij Gustschin wrote:
> Hi,
>
> On Tue, 22 May 2012 16:47:29 +0800
> Bo Shen<voice.shen at atmel.com> wrote:
> ...
>> diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c
>> new file mode 100644
>> index 0000000..0fd7800
>> --- /dev/null
>> +++ b/drivers/video/atmel_hlcdfb.c
> ...
>> +#define lcdc_readl(mmio, reg) __raw_readl((mmio)+(reg))
>> +#define lcdc_writel(mmio, reg, val) __raw_writel((val), (mmio)+(reg))
>
> Wolfgang won't accept base + offset for register access, we should use
> struct instead. Converted patch is on the way, please review/test.
This converted patch has been verified. It works well on Atmel SoC
(at91sam9x5ek, and etc).
>
> Thanks,
> Anatolij
More information about the U-Boot
mailing list