disable some mediatekl custom warnings
authorStricted <info@stricted.net>
Wed, 21 Mar 2018 14:41:24 +0000 (15:41 +0100)
committerStricted <info@stricted.net>
Wed, 21 Mar 2018 14:41:24 +0000 (15:41 +0100)
arch/arm/configs/ttab_debug_defconfig
arch/arm/configs/ttab_defconfig
drivers/misc/mediatek/Kconfig.drivers
drivers/misc/mediatek/Makefile
drivers/misc/mediatek/fmradio/Makefile
drivers/misc/mediatek/ssw/Makefile

index 4a80e6cf5c11ee6c2993d9fe008dc9f0a92874fd..e61101395bd2d3fd244d8a60851ece420a615453 100644 (file)
@@ -1463,7 +1463,6 @@ CONFIG_MTK_GPU_SUPPORT=y
 CONFIG_MTK_KERNEL_POWER_OFF_CHARGING=y
 # CONFIG_MTK_BQ24160_SUPPORT is not set
 # CONFIG_MTK_MT8193_SUPPORT is not set
-# CONFIG_MTK_HDMI_SUPPORT is not set
 # CONFIG_MTK_MT8193_HDCP_SUPPORT is not set
 CONFIG_CUSTOM_KERNEL_HDMI=""
 CONFIG_MTK_HDMI_SUPPORT=y
@@ -2214,7 +2213,6 @@ CONFIG_SND_DRIVERS=y
 # CONFIG_SND_MPU401 is not set
 # CONFIG_SND_ARM is not set
 # CONFIG_SND_SPI is not set
-# CONFIG_SND_USB is not set
 # CONFIG_SND_SOC is not set
 # CONFIG_SOUND_PRIME is not set
 
index f0606cf55da3b81279729fe6c54b43ed3bf37c3d..c64e5d62f5170004807a6f7f649d4a46ef7c856f 100644 (file)
@@ -1461,7 +1461,6 @@ CONFIG_MTK_GPU_SUPPORT=y
 CONFIG_MTK_KERNEL_POWER_OFF_CHARGING=y
 # CONFIG_MTK_BQ24160_SUPPORT is not set
 # CONFIG_MTK_MT8193_SUPPORT is not set
-# CONFIG_MTK_HDMI_SUPPORT is not set
 # CONFIG_MTK_MT8193_HDCP_SUPPORT is not set
 CONFIG_CUSTOM_KERNEL_HDMI=""
 CONFIG_MTK_HDMI_SUPPORT=y
@@ -2210,7 +2209,6 @@ CONFIG_SND_DRIVERS=y
 # CONFIG_SND_MPU401 is not set
 # CONFIG_SND_ARM is not set
 # CONFIG_SND_SPI is not set
-# CONFIG_SND_USB is not set
 # CONFIG_SND_SOC is not set
 # CONFIG_SOUND_PRIME is not set
 
index d131bcbf397096250ab580dc5aac7b4e2a4e3940..efc7bc53cbd5d9423fe1ff4ae7847ba3fea734bc 100644 (file)
@@ -778,12 +778,6 @@ config MTK_MLC_NAND_SUPPORT
   depends on MTK_MTD_NAND
   ---help---
          Enables support for MLC NAND.
-
-config MTK_COMBO_NAND_SUPPORT
-  tristate "Mediatek COMBO NAND Support"
-  depends on MTK_MTD_NAND
-  ---help---
-         Enables support for COMBO NAND.
          
 # Power Related
 if POWER_SUPPLY
@@ -1642,7 +1636,7 @@ config MTK_THERMAL_PA_VIA_ATCMD
 
 config MTK_COMBO_NAND_SUPPORT
        bool "MTK_COMBO_NAND_SUPPORT"
-       depends on !MTK_EMMC_SUPPORT
+       depends on MTK_MTD_NAND && !MTK_EMMC_SUPPORT
        help
          To support different NAND page size on the same load
 
index cf7e1dac27d9dd65919974d9261edf4e0176ff90..77d310e33829979ae1cb04d70a26bcb02a5abd0f 100644 (file)
@@ -284,7 +284,7 @@ obj-$(CONFIG_MTK_SCHED_CMP_POWER_AWARE_CONTROLLER)  +=  pa/
 obj-$(CONFIG_HMP_POWER_AWARE_CONTROLLER)       +=  pa_hmp/
 
 #widevine drm
-$(warning "CONFIG_TRUSTONIC_TEE_SUPPORT = $(CONFIG_TRUSTONIC_TEE_SUPPORT)")
+#$(warning "CONFIG_TRUSTONIC_TEE_SUPPORT = $(CONFIG_TRUSTONIC_TEE_SUPPORT)")
 obj-$(CONFIG_TRUSTONIC_TEE_SUPPORT) += secwidevine/
 
 obj-$(CONFIG_MTK_IN_HOUSE_TEE_SUPPORT) += trustzone/
index 21d83aef9c4278e79090adc00265329f4fa41a95..17db57b62de6e5465a5dfbdc970786d9b1350bb2 100755 (executable)
@@ -10,9 +10,9 @@ subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/mach/$(MTK_PLATFORM)/incl
 # MT6628 FM driver
 #ifeq ($(CONFIG_MTK_FM_CHIP), MT6628_FM)
 
-$(warning feature_option=$(CONFIG_MTK_FM_CHIP))
+#$(warning feature_option=$(CONFIG_MTK_FM_CHIP))
 ifeq ($(findstring MT6628_FM,$(CONFIG_MTK_FM_CHIP)),MT6628_FM)
-$(warning MT6628_FM)
+#$(warning MT6628_FM)
        FM_CHIP := mt6628
        FM_CHIP_PATH := $(FM_CHIP)/pub/$(FM_CHIP)
        ccflags-y += -I$(src)/inc \
@@ -35,7 +35,7 @@ obj-$(CONFIG_MTK_FM) += mtk_fm_drv.o
                                $(FM_CHIP_PATH)_fm_cmd.o \
                                $(FM_CHIP_PATH)_fm_config.o
        mtk_fm_drv-objs += $(mt6628-objs)
-$(warning $(mtk_fm_drv-objs))
+#$(warning $(mtk_fm_drv-objs))
        #obj-$(CONFIG_MTK_FM) += private/
 endif
 
@@ -43,7 +43,7 @@ endif
 #ifeq ($(CONFIG_MTK_FM_CHIP), MT6620_FM)
 
 ifeq ($(findstring MT6620_FM,$(CONFIG_MTK_FM_CHIP)),MT6620_FM)
-$(warning MT6620_FM)
+#$(warning MT6620_FM)
        FM_CHIP := mt6620
        FM_CHIP_PATH := $(FM_CHIP)/pub/$(FM_CHIP)
        ccflags-y += -I$(src)/inc \
@@ -66,7 +66,7 @@ $(warning MT6620_FM)
                                        $(FM_CHIP_PATH)_fm_cmd.o \
                                        $(FM_CHIP_PATH)_fm_config.o
        mtk_fm_drv-objs += $(mt6620-objs)
-$(warning $(mtk_fm_drv-objs))
+#$(warning $(mtk_fm_drv-objs))
        #obj-$(CONFIG_MTK_FM) += private/
 endif
 #$(foreach each_chip, $(CONFIG_MTK_FM_CHIP),$(eval $(call build_speical_fm_driver,$(each_chip))))
@@ -75,7 +75,7 @@ endif
 # MT6627 FM driver
 
 ifeq ($(findstring MT6627_FM,$(CONFIG_MTK_FM_CHIP)),MT6627_FM)
-$(warning MT6627_FM)
+#$(warning MT6627_FM)
        FM_CHIP := mt6627
        FM_CHIP_PATH := $(FM_CHIP)/pub/$(FM_CHIP)
        ccflags-y += -DMT6627_FM
@@ -99,14 +99,14 @@ $(warning MT6627_FM)
                                        $(FM_CHIP_PATH)_fm_cmd.o \
                                        $(FM_CHIP_PATH)_fm_config.o
        mtk_fm_drv-objs += $(mt6627-objs)
-$(warning $(mtk_fm_drv-objs))
+#$(warning $(mtk_fm_drv-objs))
        #obj-$(CONFIG_MTK_FM) += private/
 endif
 
 # MT6625 FM driver
 
 ifeq ($(findstring MT6625_FM,$(CONFIG_MTK_FM_CHIP)),MT6625_FM)
-$(warning MT6627_FM)
+#$(warning MT6627_FM)
        FM_CHIP := mt6627
        FM_CHIP_PATH := $(FM_CHIP)/pub/$(FM_CHIP)
        ccflags-y += -DMT6627_FM
@@ -131,13 +131,13 @@ $(warning MT6627_FM)
                                        $(FM_CHIP_PATH)_fm_cmd.o \
                                        $(FM_CHIP_PATH)_fm_config.o
        mtk_fm_drv-objs += $(mt6627-objs)
-$(warning $(mtk_fm_drv-objs))
+#$(warning $(mtk_fm_drv-objs))
        #obj-$(CONFIG_MTK_FM) += private/
 endif
 
 # MT6630 FM driver
 ifeq ($(findstring MT6630_FM,$(CONFIG_MTK_FM_CHIP)),MT6630_FM)
-$(warning MT6630_FM)
+#$(warning MT6630_FM)
        FM_CHIP := mt6630
        FM_CHIP_PATH := $(FM_CHIP)/pub/$(FM_CHIP)
     ccflags-y += -DMT6630_FM
@@ -161,7 +161,7 @@ $(warning MT6630_FM)
                                        $(FM_CHIP_PATH)_fm_cmd.o \
                                        $(FM_CHIP_PATH)_fm_config.o
        mtk_fm_drv-objs += $(mt6630-objs)
-$(warning $(mtk_fm_drv-objs))
+#$(warning $(mtk_fm_drv-objs))
        #obj-$(CONFIG_MTK_FM) += private/
 endif
 
index 0708db48d64ea33d1f78ae86625773c11e826bad..34ca0fa115d5327e31ce917a3f1e96eb2f25406b 100755 (executable)
@@ -2,9 +2,9 @@ SSW_DIR=$(srctree)/drivers/misc/mediatek/ssw/$(subst ",,$(CONFIG_CUSTOM_KERNEL_S
 ssw_exist=$(shell if [ -d ${SSW_DIR} ]; then echo "y"; else echo "n"; fi;)
 ifeq ($(ssw_exist), y)
 obj-y += $(subst ",,$(CONFIG_CUSTOM_KERNEL_SSW))/
-$(warning "SSW_DIR=$(SSW_DIR)ssw_exist=$(ssw_exist)")
+#$(warning "SSW_DIR=$(SSW_DIR)ssw_exist=$(ssw_exist)")
 else
-$(warning "no $(SSW_DIR) folder, need check config ssw_exist=$(ssw_exist)")
+#$(warning "no $(SSW_DIR) folder, need check config ssw_exist=$(ssw_exist)")
 obj-  := dummy.o # avoid build error
 endif