u-boot/cpu/at32ap
Mark Jackson 716ece1de9 Add AVR32 LCD support
This patch adds support for the AVR32 LCD controller.  This patch is
based off the latest u-boot-video.

A quick summary of what's going on:-

Enable LCDC pixel clock
Enable LCDC port pins
Add framebuffer pointer to global_data struct
Allocate framebuffer

To use the new code, update your board config to include something like
this:-

#define CONFIG_LCD			1

#if defined(CONFIG_LCD)
#define CONFIG_CMD_BMP
#define CONFIG_ATMEL_LCD		1
#define LCD_BPP				LCD_COLOR16
#define CONFIG_BMP_16BPP		1
#define CONFIG_FB_ADDR			0x10600000
#define CONFIG_WHITE_ON_BLACK		1
#define CONFIG_VIDEO_BMP_GZIP 		1
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE		262144
#define CONFIG_ATMEL_LCD_BGR555		1
#define CONFIG_SYS_CONSOLE_IS_IN_ENV	1
#define CONFIG_SPLASH_SCREEN		1
#endif

The standard U-Boot BMP and Splash-screen features should just work.

Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
[agust@denx.de: fixed some style issues]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
2009-07-26 13:12:02 +02:00
..
at32ap700x Add AVR32 LCD support 2009-07-26 13:12:02 +02:00
cache.c AVR32: Make cacheflush cpu-dependent 2009-02-23 10:34:23 +01:00
config.mk Add AT32AP CPU and AT32AP7000 SoC support 2006-10-24 14:27:35 +02:00
cpu.c Merge branch 'fixes' into cleanups 2008-12-17 16:53:07 +01:00
exception.c avr32: Do stricter stack checking in the exception handler 2008-05-27 15:27:30 +02:00
hsdramc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hsdramc1.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
hsmc3.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile avr32: Add support for "GPIO" port mux 2008-09-01 14:38:46 +02:00
pio2.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
portmux-gpio.c avr32: Add support for "GPIO" port mux 2008-09-01 14:38:46 +02:00
portmux-pio.c avr32: refactor the portmux/gpio code 2008-09-01 14:20:41 +02:00
start.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00