Remove multiple declarations of flags in BoardConfig

Flags related to Graphics were declared multiple times. Clean
this by keeping only one instance of each flag.

Change-Id: I7cdbf915cb14a8bf8bbe21699564d0b75af575c3
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 5e22951..ec7d55e 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -45,18 +45,6 @@
 BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
 BOARD_RAMDISK_OFFSET     := 0x02000000
 BOARD_KERNEL_OFFSET	 := 0x00080000
-# Enables Adreno RS driver
-OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
-
-# Shader cache config options
-# Maximum size of the  GLES Shaders that can be cached for reuse.
-# Increase the size if shaders of size greater than 12KB are used.
-MAX_EGL_CACHE_KEY_SIZE := 12*1024
-
-# Maximum GLES shader cache size for each app to store the compiled shader
-# binaries. Decrease the size if RAM or Flash Storage size is a limitation
-# of the device.
-MAX_EGL_CACHE_SIZE := 2048*1024
 
 # Use signed boot and recovery image
 TARGET_BOOTIMG_SIGNED := true
@@ -95,16 +83,11 @@
 TARGET_KRAIT_BIONIC_BBTHRESH := 64
 TARGET_KRAIT_BIONIC_PLDSIZE := 64
 
-TARGET_USES_ION := true
-TARGET_USES_NEW_ION_API :=true
-
 TARGET_HW_DISK_ENCRYPTION := false
 
 TARGET_INIT_VENDOR_LIB := libinit_msm8974
 TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_msm
 
-USE_OPENGL_RENDERER := true
-
 # Control flag between KM versions
 TARGET_HW_KEYMASTER_V03 := true
 
@@ -142,9 +125,18 @@
 USE_DEVICE_SPECIFIC_CAMERA := true
 
 # Graphics
-MAX_EGL_CACHE_KEY_SIZE := 12*1024
-MAX_EGL_CACHE_SIZE := 2048*1024
+# Enables Adreno RS driver
 OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
+
+# Shader cache config options
+# Maximum size of the  GLES Shaders that can be cached for reuse.
+# Increase the size if shaders of size greater than 12KB are used.
+MAX_EGL_CACHE_KEY_SIZE := 12*1024
+
+# Maximum GLES shader cache size for each app to store the compiled shader
+# binaries. Decrease the size if RAM or Flash Storage size is a limitation
+# of the device.
+MAX_EGL_CACHE_SIZE := 2048*1024
 TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x02000000U
 TARGET_USES_ION := true
 TARGET_USES_NEW_ION_API := true
@@ -167,7 +159,6 @@
 # Workaround framework bluetooth dependency
 BOARD_HAVE_BLUETOOTH_QCOM := true
 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/qcom/common
-OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
 
 TARGET_RELEASETOOLS_EXTENSIONS := device/fairphone/FP2