u-boot/include/asm-avr32
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
..
arch-at32ap700x Add AVR32 LCD support 2009-07-26 13:12:02 +02:00
arch-common AVR32: Make GPIO implmentation cpu dependent 2009-02-23 10:34:24 +01:00
bitops.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
byteorder.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
config.h Add an architecture specific config.h for common defines 2009-02-10 00:43:54 +01:00
dma-mapping.h AVR32: Make cacheflush cpu-dependent 2009-02-23 10:34:23 +01:00
errno.h asm-generic: Consolidate errno.h to asm-generic/errno.h 2009-07-09 14:07:11 +02:00
global_data.h Add AVR32 LCD support 2009-07-26 13:12:02 +02:00
hmatrix-common.h avr32: Clean up the HMATRIX code 2008-05-27 15:27:29 +02:00
initcalls.h avr32: use board_early_init_r instead of board_init_info 2008-09-01 14:21:35 +02:00
io.h AVR32: Move addrspace.h to arch-directory, and move some functions from io.h to addrspace.h 2009-02-23 10:34:24 +01:00
posix_types.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
processor.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
ptrace.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
sdram.h avr32: data_bits should reflect the actual number of data bits 2008-09-01 13:41:58 +02:00
sections.h avr32: Get rid of the .flashprog section 2008-05-27 15:27:29 +02:00
setup.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
string.h AVR32: Change prototype of memset 2007-08-27 14:56:29 +02:00
sysreg.h avr32: Fix printf() format warnings 2008-07-23 16:15:01 +02:00
types.h Introduce phys_size_t and move phys_addr_t into asm/types.h 2008-04-13 17:13:46 -07:00
u-boot.h remove bi_enet*addr from global data for all arches 2009-03-20 22:39:12 +01:00