From: Stricted Date: Fri, 27 Jul 2018 06:28:38 +0000 (+0200) Subject: remove obsolete flags from BoardConfig X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c3130a6d0a7d2261b55bd6eb691fc536602ea9f5;p=GitHub%2Fmt8127%2Fandroid_device_alcatel_ttab.git remove obsolete flags from BoardConfig Change-Id: I89350ce7f390c7bbbb892560f99176cf4a9dbb37 --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 534d529..74344ac 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -31,7 +31,6 @@ TARGET_OTA_ASSERT_DEVICE := ttab TARGET_INIT_VENDOR_LIB := libinit_ttab - BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1468006400 @@ -61,39 +60,9 @@ BOARD_MKBOOTIMG_ARGS := --cmdline "$(BOARD_KERNEL_CMDLINE)" --base 0x80000000 -- # MTK BOARD_HAS_MTK_HARDWARE := true -MTK_HARDWARE := true - -# to be used with hardware/mediatek repo -BOARD_HAS_MTK := true -MTK_HWC_CHIP := mt8127 -MTK_HWC_SUPPORT := true -MTK_WFD_SUPPORT := true -MTK_PQ_SUPPORT := true -MTK_ION_SUPPORT := true -MTK_HDMI_SUPPORT := false -MTK_SENSOR_SUPPORT := true - -# Flags -TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp -TARGET_GLOBAL_CPPFLAGS += -DMTK_HARDWARE -mfpu=neon -mfloat-abi=softfp -TARGET_GLOBAL_CFLAGS += -DREFRESH_RATE=60 -TARGET_GLOBAL_CFLAGS += -DMTK_HARDWARE -TARGET_GLOBAL_CFLAGS += -DADD_LEGACY_ACQUIRE_BUFFER_SYMBOL -TARGET_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD # Graphics -USE_OPENGL_RENDERER := true BOARD_EGL_CFG := $(DEVICE_DIR)/configs/egl.cfg -TARGET_USES_C2D_COMPOSITION := true -TARGET_USES_OVERLAY := true -TARGET_USES_ION := true -TARGET_DISPLAY_USE_RETIRE_FENCE := true -MAX_EGL_CACHE_KEY_SIZE := 12*1024 -MAX_EGL_CACHE_SIZE := 1024*1024 -BOARD_EGL_NEEDS_HANDLE_VALUE := true - -TARGET_HAS_LEGACY_CAMERA_HAL1 := true -TARGET_USES_MEDIA_EXTENSIONS := true # Surfaceflinger optimization for VD surfaces TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true