Commit | Line | Data |
---|---|---|
904a53cf | 1 | # |
29c2b4d8 | 2 | # Copyright (C) 2021-2024 The LineageOS Project |
904a53cf NJ |
3 | # |
4 | # SPDX-License-Identifier: Apache-2.0 | |
5 | # | |
6 | ||
904a53cf NJ |
7 | DEVICE_PATH := device/google/sabrina |
8 | ||
7fce6f74 NJ |
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 | ||
904a53cf NJ |
15 | ## Bootloader |
16 | TARGET_BOOTLOADER_BOARD_NAME := sabrina | |
f0e7dc80 S |
17 | |
18 | ## DTB | |
19 | TARGET_DTB_NAME := sm1_s905d3_sabrina | |
7fce6f74 | 20 | |
fcb3377a JA |
21 | ## Kernel |
22 | TARGET_KERNEL_VARIANT_CONFIG := sabrina_defconfig | |
23 | ||
4753e6cd NJ |
24 | ## Partitions |
25 | BOARD_SUPER_PARTITION_SIZE := 2084569088 | |
26 | ||
7fce6f74 NJ |
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 | |
29c2b4d8 | 35 | WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag_apsta.bin" |
7fce6f74 NJ |
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 | |
6bd61eea NJ |
39 | |
40 | ## Include the common tree BoardConfig makefile | |
41 | include device/amlogic/g12-common/BoardConfigCommon.mk | |
74b4aefd BM |
42 | |
43 | ## Include the proprietary BoardConfig makefile | |
44 | include vendor/google/sabrina/BoardConfigVendor.mk |