[U-Boot] [PATCH v2] video: atmel/lcd: add LCD driver for Atmel new SoC

Anatolij Gustschin agust at denx.de
Fri May 25 13:04:12 CEST 2012


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.

Thanks,
Anatolij


More information about the U-Boot mailing list