diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-30 18:39:03 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-30 18:39:03 +0000 |
commit | c1e444ff72f363ff5f7e0cd7ecf0ae1a4af702dd (patch) | |
tree | a9501f9ac3e6da4fd97844839994374a54558145 /target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch | |
parent | 040bd64849da37e6c35bab3726019c059c96893e (diff) | |
download | buildroot-novena-c1e444ff72f363ff5f7e0cd7ecf0ae1a4af702dd.tar.gz buildroot-novena-c1e444ff72f363ff5f7e0cd7ecf0ae1a4af702dd.zip |
Remove AVR32 patches from kernel-headers directory and put them in
"target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"
Make sure BR2_KERNEL_HEADERS_PATCH_DIR is enabled for 2.6.28
Set
KERNEL_HEADERS_PATCH_DIR="target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"
for Atmel AVR32 targets and "valka"
Diffstat (limited to 'target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch')
-rw-r--r-- | target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch b/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch new file mode 100644 index 000000000..2163c92c7 --- /dev/null +++ b/target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2/linux-2.6.28.2-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch @@ -0,0 +1,43 @@ +diff -urN linux-2.6.28.2-0rig//drivers/video/atmel_mpopfb.c linux-2.6.28.2/drivers/video/atmel_mpopfb.c +--- linux-2.6.28.2-0rig//drivers/video/atmel_mpopfb.c 2009-01-29 09:41:04.000000000 +0100 ++++ linux-2.6.28.2/drivers/video/atmel_mpopfb.c 2009-01-29 09:43:46.000000000 +0100 +@@ -315,6 +315,10 @@ + static void atmel_mpopfb_start(struct atmel_mpopfb_info *sinfo) + { + if (!sinfo->running) { ++ unsigned int line_cache_disable = ++ sinfo->baseimg_info.line_cache_disable ? ++ ATMEL_MPOP_CR_CACHEDIS_MASK : 0; ++ + dev_dbg(sinfo->info->device, " * Starting MPOP.\n"); + + /* Enable all error interrupts. */ +@@ -325,9 +329,9 @@ + * reading from the slave interface it will start + * generating a frame. + */ +- mpop_writel(sinfo, ATMEL_MPOP_CR, +- ATMEL_MPOP_CR_EN_MASK +- /*| ATMEL_MPOP_CR_OUT_BGR_MASK */ ); ++ mpop_writel(sinfo, ATMEL_MPOP_CR, ATMEL_MPOP_CR_EN_MASK ++ | line_cache_disable ++ | ATMEL_MPOP_CR_OUT_BGR_MASK); + + sinfo->running = 1; + } +diff -urN linux-2.6.28.2-0rig//include/linux/atmel_mpopfb.h linux-2.6.28.2/include/linux/atmel_mpopfb.h +--- linux-2.6.28.2-0rig//include/linux/atmel_mpopfb.h 2009-01-29 09:41:04.000000000 +0100 ++++ linux-2.6.28.2/include/linux/atmel_mpopfb.h 2009-01-29 09:43:46.000000000 +0100 +@@ -42,9 +42,11 @@ + unsigned xsize; + unsigned ysize; + +- /* Signal that we should flip the video. */ ++ /* Signal for flipping the video. */ + int flip; + ++ /* Signal for disabling the line cache. */ ++ int line_cache_disable; + }; + + enum atmel_mpopfb_overlay_type { |