diff options
author | Daiane Angolini <daiane.angolini@freescale.com> | 2012-04-20 14:33:39 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-04-20 17:07:39 -0300 |
commit | d4748ed26429762952455722a5f948fec6c98af0 (patch) | |
tree | b3cbdbc455c2cc1a495c03a65bc90bc3e1aaf7bb | |
parent | d162f248a4229e534d94f978601848e1f3c913e9 (diff) | |
download | meta-fsl-arm-d4748ed26429762952455722a5f948fec6c98af0.tar.gz |
linux-imx: Add gpu module to imx6qsabrelite defconfig
Add a kernel patch to avoid unused variable error
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
3 files changed, 30 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-imx-2.6.38/imx6qsabrelite/defconfig b/recipes-kernel/linux/linux-imx-2.6.38/imx6qsabrelite/defconfig index a19bf9e..b4c25b2 100644 --- a/recipes-kernel/linux/linux-imx-2.6.38/imx6qsabrelite/defconfig +++ b/recipes-kernel/linux/linux-imx-2.6.38/imx6qsabrelite/defconfig | |||
@@ -282,7 +282,7 @@ CONFIG_IMX_HAVE_PLATFORM_IMX_VIIM=y | |||
282 | CONFIG_IMX_HAVE_PLATFORM_PERFMON=y | 282 | CONFIG_IMX_HAVE_PLATFORM_PERFMON=y |
283 | CONFIG_IMX_HAVE_PLATFORM_LDB=y | 283 | CONFIG_IMX_HAVE_PLATFORM_LDB=y |
284 | CONFIG_IMX_HAVE_PLATFORM_IMX_SPDIF=y | 284 | CONFIG_IMX_HAVE_PLATFORM_IMX_SPDIF=y |
285 | CONFIG_IMX_HAVE_PLATFORM_VIV_GPU=n | 285 | CONFIG_IMX_HAVE_PLATFORM_VIV_GPU=y |
286 | CONFIG_IMX_HAVE_PLATFORM_MXC_HDMI=y | 286 | CONFIG_IMX_HAVE_PLATFORM_MXC_HDMI=y |
287 | CONFIG_IMX_HAVE_PLATFORM_IMX_ANATOP_THERMAL=y | 287 | CONFIG_IMX_HAVE_PLATFORM_IMX_ANATOP_THERMAL=y |
288 | CONFIG_IMX_HAVE_PLATFORM_FSL_OTG=y | 288 | CONFIG_IMX_HAVE_PLATFORM_FSL_OTG=y |
@@ -2081,7 +2081,7 @@ CONFIG_MXC_MLB150=m | |||
2081 | # | 2081 | # |
2082 | # MXC Vivante GPU support | 2082 | # MXC Vivante GPU support |
2083 | # | 2083 | # |
2084 | CONFIG_MXC_GPU_VIV=n | 2084 | CONFIG_MXC_GPU_VIV=m |
2085 | 2085 | ||
2086 | # | 2086 | # |
2087 | # ANATOP_THERMAL | 2087 | # ANATOP_THERMAL |
diff --git a/recipes-kernel/linux/linux-imx/linux-imx-avoid-unuset-but-set-variable-error-for-GPU.patch b/recipes-kernel/linux/linux-imx/linux-imx-avoid-unuset-but-set-variable-error-for-GPU.patch new file mode 100644 index 0000000..a8eb552 --- /dev/null +++ b/recipes-kernel/linux/linux-imx/linux-imx-avoid-unuset-but-set-variable-error-for-GPU.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 0f2d5b37307b96156e35a20bb7e7585e437e11a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daiane Angolini <daiane.angolini@freescale.com> | ||
3 | Date: Fri, 20 Apr 2012 15:13:20 -0300 | ||
4 | Subject: [PATCH] linux-imx: avoid unuset but set variable error for GPU | ||
5 | driver | ||
6 | |||
7 | Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com> | ||
8 | --- | ||
9 | drivers/mxc/gpu-viv/Kbuild | 2 +- | ||
10 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/drivers/mxc/gpu-viv/Kbuild b/drivers/mxc/gpu-viv/Kbuild | ||
13 | index aa1ec7b..35619fa 100644 | ||
14 | --- a/drivers/mxc/gpu-viv/Kbuild | ||
15 | +++ b/drivers/mxc/gpu-viv/Kbuild | ||
16 | @@ -36,7 +36,7 @@ ARCH_KERNEL_DIR := arch/$(notdir $(AQARCH))/hal/kernel | ||
17 | ARCH_VG_KERNEL_DIR := arch/$(notdir $(AQVGARCH))/hal/kernel | ||
18 | HAL_KERNEL_DIR := hal/kernel | ||
19 | |||
20 | -EXTRA_CFLAGS += -Werror | ||
21 | +EXTRA_CFLAGS += -Werror -Wno-unused-but-set-variable | ||
22 | |||
23 | OBJS := $(OS_KERNEL_DIR)/gc_hal_kernel_device.o \ | ||
24 | $(OS_KERNEL_DIR)/gc_hal_kernel_driver.o \ | ||
25 | -- | ||
26 | 1.7.5.4 | ||
27 | |||
diff --git a/recipes-kernel/linux/linux-imx_2.6.38.bb b/recipes-kernel/linux/linux-imx_2.6.38.bb index 92302ce..f50dabd 100644 --- a/recipes-kernel/linux/linux-imx_2.6.38.bb +++ b/recipes-kernel/linux/linux-imx_2.6.38.bb | |||
@@ -15,6 +15,7 @@ COMPATIBLE_MACHINE = "(imx53qsb|imx53ard|imx6qsabrelite)" | |||
15 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;tag=rel_imx_2.6.38_12.01.01 \ | 15 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;tag=rel_imx_2.6.38_12.01.01 \ |
16 | file://egalax_ts-enable-single-event-support.patch \ | 16 | file://egalax_ts-enable-single-event-support.patch \ |
17 | file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \ | 17 | file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \ |
18 | file://linux-imx-avoid-unuset-but-set-variable-error-for-GPU.patch \ | ||
18 | file://defconfig \ | 19 | file://defconfig \ |
19 | " | 20 | " |
20 | 21 | ||