linux/arch/arm/mach-at91
Haavard Skinnemoen 01d3a5e7fa atmel_lcdfb: don't initialize a pre-allocated framebuffer
If the user specified a fixed framebuffer address on the command line, it may
have been initialized already with a splash image or something, so we
shouldn't clear it.

Therefore, we should only initialize the framebuffer if we allocated it
ourselves.  This patch also updates the AVR32 setup code to clear the
framebuffer if it allocated it itself, i.e.  the user didn't provide a fixed
address or the reservation failed.

I've updated the at91 platform code as well so that it initializes the
framebuffer if it is located in SRAM, but I haven't tested that it actually
works.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Nicolas FERRE <nicolas.ferre@rfo.atmel.com>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:38 -07:00
..
at91cap9_devices.c [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) 2008-04-17 15:55:52 +01:00
at91cap9.c [ARM] 4903/1: [AT91] SAM9/CAP9 system shutdown 2008-04-04 09:52:19 +01:00
at91rm9200_devices.c [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) 2008-04-17 15:55:52 +01:00
at91rm9200_time.c [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
at91rm9200.c [ARM] 4656/1: AT91: Tweak interrupt priorities 2008-01-26 15:00:30 +00:00
at91sam9rl_devices.c atmel_lcdfb: don't initialize a pre-allocated framebuffer 2008-04-28 08:58:38 -07:00
at91sam9rl.c [ARM] 4903/1: [AT91] SAM9/CAP9 system shutdown 2008-04-04 09:52:19 +01:00
at91sam926x_time.c [ARM] 4989/1: [AT91] SAM9 ClockSource / ClockEvents 2008-04-17 15:55:54 +01:00
at91sam9260_devices.c [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) 2008-04-17 15:55:52 +01:00
at91sam9260.c [ARM] 4903/1: [AT91] SAM9/CAP9 system shutdown 2008-04-04 09:52:19 +01:00
at91sam9261_devices.c atmel_lcdfb: don't initialize a pre-allocated framebuffer 2008-04-28 08:58:38 -07:00
at91sam9261.c [ARM] 4903/1: [AT91] SAM9/CAP9 system shutdown 2008-04-04 09:52:19 +01:00
at91sam9263_devices.c [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) 2008-04-17 15:55:52 +01:00
at91sam9263.c [ARM] 4903/1: [AT91] SAM9/CAP9 system shutdown 2008-04-04 09:52:19 +01:00
at91x40_time.c [ARM] 4533/1: AT91x40 timer support 2007-10-12 23:43:04 +01:00
at91x40.c [ARM] 4534/1: AT91x40 interrupt support 2007-10-12 23:43:05 +01:00
board-1arm.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
board-cam60.c [ARM] 4978/1: [AT91] KB9260 (CAM60) board support 2008-04-17 15:55:48 +01:00
board-cap9adk.c [ARM] 4902/1: [AT91] SAM9/CAP9 memory controller header 2008-04-04 09:52:18 +01:00
board-carmeva.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-csb337.c [ARM] 4936/1: [CSB337] Converts to new-style UART initialization 2008-04-10 14:59:56 +01:00
board-csb637.c [ARM] 4938/1: [CSB637] Convert heartbeat LED to gpio-leds 2008-04-10 14:59:58 +01:00
board-dk.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-eb01.c [ARM] 4538/1: Atmel EB01 board support 2007-10-12 23:43:07 +01:00
board-eb9200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-ecbat91.c [ARM] 4980/1: [AT91] emQbit ECB_AT91 board support 2008-04-17 15:55:51 +01:00
board-ek.c [ARM] 4761/1: [AT91] Board-support for NEW_LEDs 2008-01-26 15:00:32 +00:00
board-kafa.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-kb9202.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-picotux200.c [ARM] 4650/1: AT91: New-style init of I2C, support for i2c-gpio 2007-11-26 19:40:47 +00:00
board-sam9-l9260.c [ARM] 4979/1: [AT91] Olimex SAM9-L9260 board support 2008-04-17 15:55:50 +01:00
board-sam9rlek.c [ARM] 4905/1: [AT91] Atmel SAM9 boards updated to new-style UART initialization 2008-04-04 09:52:21 +01:00
board-sam9260ek.c [ARM] 4911/1: [AT91] LEDs on SAM9260-EK and SAM9261-EK boards 2008-04-04 09:52:28 +01:00
board-sam9261ek.c [ARM] 4911/1: [AT91] LEDs on SAM9260-EK and SAM9261-EK boards 2008-04-04 09:52:28 +01:00
board-sam9263ek.c [ARM] 4911/1: [AT91] LEDs on SAM9260-EK and SAM9261-EK boards 2008-04-04 09:52:28 +01:00
board-yl-9200.c [ARM] 4825/1: adds support for YL9200 board 2008-03-28 17:37:07 +00:00
clock.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work 2008-02-04 13:16:39 +00:00
gpio.c [ARM] 4848/1: at91: remove false lockdep warnings 2008-03-06 12:18:18 +00:00
irq.c [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
Kconfig [ARM] 4989/1: [AT91] SAM9 ClockSource / ClockEvents 2008-04-17 15:55:54 +01:00
leds.c [ARM] 4758/1: [AT91] LEDs 2008-01-26 15:00:32 +00:00
Makefile [ARM] 4980/1: [AT91] emQbit ECB_AT91 board support 2008-04-17 15:55:51 +01:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
pm.c [ARM] 4907/1: [AT91] SAM9/CAP9 reset reason 2008-04-04 09:52:23 +01:00