diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2007-09-28 17:43:53 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2007-09-28 17:43:53 +0000 |
commit | cfa5b19e235a7c563a4ffbbde1ae42d04ab42098 (patch) | |
tree | c8f6b7cb00906a52f222704fe916ed4473d6a328 | |
parent | cdafd8b8c839d010fc8e99a11292a17932ab428e (diff) | |
download | poky-cfa5b19e235a7c563a4ffbbde1ae42d04ab42098.tar.gz |
linux-rp_2.6.22+2.6.23-rc4: Fix FB overlay.
With rmk's latest pxa patchset, pxa fb overlay is broken.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2819 311d38ba-8fff-0310-9ca6-ca027cbcb966
3 files changed, 32 insertions, 5 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/defconfig-zylonite b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/defconfig-zylonite index f10c01a3b6..0321704a1f 100644 --- a/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/defconfig-zylonite +++ b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/defconfig-zylonite | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.23-rc4 | 3 | # Linux kernel version: 2.6.23-rc4 |
4 | # Tue Sep 25 12:39:31 2007 | 4 | # Tue Sep 25 15:57:10 2007 |
5 | # | 5 | # |
6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | 7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y |
@@ -230,7 +230,7 @@ CONFIG_ALIGNMENT_TRAP=y | |||
230 | # | 230 | # |
231 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 231 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
232 | CONFIG_ZBOOT_ROM_BSS=0x0 | 232 | CONFIG_ZBOOT_ROM_BSS=0x0 |
233 | CONFIG_CMDLINE="console=ttyS0,38400 root=/dev/mtdblock2 rootfstype=jffs2 mem=64M" | 233 | CONFIG_CMDLINE="console=ttyS0,38400 root=/dev/mtdblock2 rootfstype=jffs2 mem=64M dyntick=enable debug" |
234 | # CONFIG_XIP_KERNEL is not set | 234 | # CONFIG_XIP_KERNEL is not set |
235 | # CONFIG_KEXEC is not set | 235 | # CONFIG_KEXEC is not set |
236 | 236 | ||
@@ -874,7 +874,7 @@ CONFIG_FB_MODE_HELPERS=y | |||
874 | CONFIG_FB_PXA=y | 874 | CONFIG_FB_PXA=y |
875 | # CONFIG_FB_PXA_LCD_QVGA is not set | 875 | # CONFIG_FB_PXA_LCD_QVGA is not set |
876 | CONFIG_FB_PXA_LCD_VGA=y | 876 | CONFIG_FB_PXA_LCD_VGA=y |
877 | # CONFIG_FB_PXA_OVERLAY is not set | 877 | CONFIG_FB_PXA_OVERLAY=y |
878 | # CONFIG_FB_PXA_PARAMETERS is not set | 878 | # CONFIG_FB_PXA_PARAMETERS is not set |
879 | # CONFIG_FB_MBX is not set | 879 | # CONFIG_FB_MBX is not set |
880 | # CONFIG_FB_VIRTUAL is not set | 880 | # CONFIG_FB_VIRTUAL is not set |
@@ -902,7 +902,7 @@ CONFIG_LOGO=y | |||
902 | CONFIG_LOGO_LINUX_MONO=y | 902 | CONFIG_LOGO_LINUX_MONO=y |
903 | CONFIG_LOGO_LINUX_VGA16=y | 903 | CONFIG_LOGO_LINUX_VGA16=y |
904 | CONFIG_LOGO_LINUX_CLUT224=y | 904 | CONFIG_LOGO_LINUX_CLUT224=y |
905 | CONFIG_LOGO_OHAND_CLUT224=y | 905 | # CONFIG_LOGO_OHAND_CLUT224 is not set |
906 | # CONFIG_LOGO_OZ240_CLUT224 is not set | 906 | # CONFIG_LOGO_OZ240_CLUT224 is not set |
907 | # CONFIG_LOGO_OZ480_CLUT224 is not set | 907 | # CONFIG_LOGO_OZ480_CLUT224 is not set |
908 | # CONFIG_LOGO_OZ640_CLUT224 is not set | 908 | # CONFIG_LOGO_OZ640_CLUT224 is not set |
diff --git a/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/pxa_fb_overlay.patch b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/pxa_fb_overlay.patch new file mode 100644 index 0000000000..49c59b3275 --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.22+2.6.23-rc4/pxa_fb_overlay.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | --- | ||
2 | drivers/video/pxafb.h | 4 ++-- | ||
3 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
4 | |||
5 | Index: linux-2.6.22/drivers/video/pxafb.h | ||
6 | =================================================================== | ||
7 | --- linux-2.6.22.orig/drivers/video/pxafb.h 2007-09-25 15:44:42.000000000 +0200 | ||
8 | +++ linux-2.6.22/drivers/video/pxafb.h 2007-09-25 15:45:07.000000000 +0200 | ||
9 | @@ -36,7 +36,7 @@ | ||
10 | struct fb_bitfield transp; | ||
11 | }; | ||
12 | |||
13 | -#ifdef CONFIG_PXA27x | ||
14 | +#if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx) | ||
15 | /* PXA Overlay Framebuffer Support */ | ||
16 | struct overlayfb_info | ||
17 | { | ||
18 | @@ -142,7 +142,7 @@ | ||
19 | wait_queue_head_t ctrlr_wait; | ||
20 | struct work_struct task; | ||
21 | |||
22 | -#ifdef CONFIG_PXA27x | ||
23 | +#if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx) | ||
24 | /* PXA Overlay Framebuffer Support */ | ||
25 | struct overlayfb_info *overlay1fb; | ||
26 | struct overlayfb_info *overlay2fb; | ||
diff --git a/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb b/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb index c1883800b5..8a981f4e72 100644 --- a/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb +++ b/meta/packages/linux/linux-rp_2.6.22+2.6.23-rc4.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require linux-rp.inc | 1 | require linux-rp.inc |
2 | 2 | ||
3 | PR = "r6" | 3 | PR = "r7" |
4 | 4 | ||
5 | DEFAULT_PREFERENCE = "-1" | 5 | DEFAULT_PREFERENCE = "-1" |
6 | DEFAULT_PREFERENCE_htcuniversal = "1" | 6 | DEFAULT_PREFERENCE_htcuniversal = "1" |
@@ -122,6 +122,7 @@ SRC_URI_append_htcuniversal ="\ | |||
122 | 122 | ||
123 | SRC_URI_append_zylonite ="\ | 123 | SRC_URI_append_zylonite ="\ |
124 | file://arm_pxa_20070923.patch;patch=1 \ | 124 | file://arm_pxa_20070923.patch;patch=1 \ |
125 | file://pxa_fb_overlay.patch;patch=1 \ | ||
125 | file://irq-gpio-offby1.patch;patch=1 \ | 126 | file://irq-gpio-offby1.patch;patch=1 \ |
126 | file://zylonite-boot.patch;patch=1 \ | 127 | file://zylonite-boot.patch;patch=1 \ |
127 | " | 128 | " |