sabrina: init: Do not change permissions of WiFi FW reload sysfs paths
[GitHub/LineageOS/G12/android_device_google_sabrina.git] / BoardConfig.mk
1 #
2 # Copyright (C) 2021-2024 The LineageOS Project
3 #
4 # SPDX-License-Identifier: Apache-2.0
5 #
6
7 DEVICE_PATH := device/google/sabrina
8
9 ## Bluetooth
10 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
11 BOARD_CUSTOM_BT_CONFIG := $(DEVICE_PATH)/bluetooth/vnd_deadpool.txt
12 BOARD_HAVE_BLUETOOTH := true
13 BOARD_HAVE_BLUETOOTH_BCM := true
14
15 ## Bootloader
16 TARGET_BOOTLOADER_BOARD_NAME := sabrina
17
18 ## DTB
19 TARGET_DTB_NAME := sm1_s905d3_sabrina
20
21 ## Kernel
22 TARGET_KERNEL_VARIANT_CONFIG := sabrina_defconfig
23
24 ## Partitions
25 BOARD_SUPER_PARTITION_SIZE := 2084569088
26
27 ## Properties
28 TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
29
30 ## Wi-Fi
31 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
32 BOARD_WLAN_DEVICE := bcmdhd
33 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
34 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
35 WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag_apsta.bin"
36 WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag.bin"
37 WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
38 WPA_SUPPLICANT_VERSION := VER_0_8_X
39
40 ## Include the common tree BoardConfig makefile
41 include device/amlogic/g12-common/BoardConfigCommon.mk
42
43 ## Include the proprietary BoardConfig makefile
44 include vendor/google/sabrina/BoardConfigVendor.mk