From 4a7ed2114aefe6110d4da9e426ba677f5230731c Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Sat, 22 Oct 2022 10:59:04 +0900 Subject: [PATCH] universal7885: bluetooth: Drop bt header --- universal7885-common/BoardConfigCommon.mk | 1 - .../bluetooth/bdroid_buildcfg.h | 31 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 universal7885-common/bluetooth/bdroid_buildcfg.h diff --git a/universal7885-common/BoardConfigCommon.mk b/universal7885-common/BoardConfigCommon.mk index e338ed3..403968a 100644 --- a/universal7885-common/BoardConfigCommon.mk +++ b/universal7885-common/BoardConfigCommon.mk @@ -37,7 +37,6 @@ TARGET_2ND_CPU_VARIANT := cortex-a53 endif # Bluetooth -BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth BOARD_HAVE_BLUETOOTH_SLSI := true # Build system diff --git a/universal7885-common/bluetooth/bdroid_buildcfg.h b/universal7885-common/bluetooth/bdroid_buildcfg.h deleted file mode 100644 index f69e8f5..0000000 --- a/universal7885-common/bluetooth/bdroid_buildcfg.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _BDROID_BUILDCFG_H -#define _BDROID_BUILDCFG_H - -#pragma push_macro("PROPERTY_VALUE_MAX") - -#include -#include - -static inline const char *BtmGetDefaultName() { - char product_device[PROPERTY_VALUE_MAX]; - property_get("ro.product.device", product_device, ""); - - if (strstr(product_device, "a10")) - return "Galaxy A10"; - if (strstr(product_device, "a20e")) - return "Galaxy A20e"; - if (strstr(product_device, "a20")) - return "Galaxy A20"; - if (strstr(product_device, "a30")) - return "Galaxy A30"; - if (strstr(product_device, "a40")) - return "Galaxy A40"; - // Fallback to Generic - return "Samsung Galaxy"; -} - -#define BTM_DEF_LOCAL_NAME BtmGetDefaultName() -#define BTM_ESCO_TRANSPORT_UNIT_SIZE_PCM16 - -#pragma pop_macro("PROPERTY_VALUE_MAX") -#endif