ARM: mali400: r5p2_rel0: fix Makefile & Kconfig 52/69352/2
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 10 May 2016 05:59:10 +0000 (14:59 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 23 May 2016 06:41:24 +0000 (15:41 +0900)
For building of r5p2_rel0.

Change-Id: I23c3144d886b9cbfe6061650ab16d180eb74e94c
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/arm/mali400/Kconfig
drivers/gpu/arm/mali400/Makefile
drivers/gpu/arm/mali400/r5p2_rel0/Kconfig

index 097ed49..016b1b6 100644 (file)
@@ -29,4 +29,13 @@ if MALI_VER_R5P0_REL0
 source "drivers/gpu/arm/mali400/r5p0_rel0/Kconfig"
 endif
 
+config MALI_VER_R5P2_REL0
+       bool "Mali400 Version R5P2-REL0"
+       help
+         Choose this option to select DDK version.
+
+if MALI_VER_R5P2_REL0
+source "drivers/gpu/arm/mali400/r5p2_rel0/Kconfig"
+endif
+
 endchoice
index c000685..9b88c2f 100644 (file)
@@ -1,4 +1,5 @@
 obj-$(CONFIG_MALI_VER_R4P0_REL0) += r4p0_rel0/
 obj-$(CONFIG_MALI_VER_R5P0_REL0) += r5p0_rel0/
+obj-$(CONFIG_MALI_VER_R5P2_REL0) += r5p2_rel0/
 
 EXTRA_CFLAGS += -Idrivers/gpu/arm/mali400
index 873d314..fda9192 100644 (file)
@@ -1,14 +1,3 @@
-config MALI400
-       tristate "Mali-300/400/450 support"
-       depends on ARM || ARM64
-       select DMA_SHARED_BUFFER
-       ---help---
-         This enables support for the ARM Mali-300, Mali-400, and Mali-450
-         GPUs.
-
-         To compile this driver as a module, choose M here: the module will be
-         called mali.
-
 config MALI450
        bool "Enable Mali-450 support"
        depends on MALI400