From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Add AVR32 LCD support
Date: Sun, 26 Jul 2009 13:34:57 +0200 [thread overview]
Message-ID: <4A6C3F61.3010205@denx.de> (raw)
In-Reply-To: <4A659459.80207@mimc.co.uk>
Mark Jackson wrote:
> 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>
> ---
> cpu/at32ap/at32ap700x/clk.c | 5 +
> cpu/at32ap/at32ap700x/portmux.c | 90 +++++++++++++++++++++
> include/asm-avr32/arch-at32ap700x/chip-features.h | 5 +
> include/asm-avr32/arch-at32ap700x/clk.h | 6 ++
> include/asm-avr32/arch-at32ap700x/portmux.h | 5 +-
> include/asm-avr32/global_data.h | 3 +
> lib_avr32/board.c | 11 +++
> 7 files changed, 124 insertions(+), 1 deletions(-)
Applied to u-boot-video. Thanks!
Best regards,
Anatolij
prev parent reply other threads:[~2009-07-26 11:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 10:11 [U-Boot] [PATCH v2] Add AVR32 LCD support Mark Jackson
2009-07-26 11:34 ` Anatolij Gustschin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A6C3F61.3010205@denx.de \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox