1# 2# Copyright (C) 2017 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17TARGET_BOOTLOADER_BOARD_NAME := taimen 18DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x0000008c 19 20BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc1b0000 21 22include device/google/wahoo/BoardConfig.mk 23 24BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040 25BOARD_AVB_ENABLE := true 26 27# sepolicy 28BOARD_SEPOLICY_DIRS += device/google/taimen/sepolicy 29 30ifeq (,$(filter-out taimen_gcc, $(TARGET_PRODUCT))) 31# if TARGET_PRODUCT == taimen_gcc 32BOARD_VENDOR_KERNEL_MODULES += \ 33 device/google/wahoo-kernel/gcc/touch_core_base.ko \ 34 device/google/wahoo-kernel/gcc/ftm4.ko \ 35 device/google/wahoo-kernel/gcc/sw49408.ko \ 36 device/google/wahoo-kernel/gcc/lge_battery.ko 37else ifeq (,$(filter-out taimen_kasan, $(TARGET_PRODUCT))) 38# if TARGET_PRODUCT == taimen_kasan 39BOARD_VENDOR_KERNEL_MODULES += \ 40 device/google/wahoo-kernel/kasan/touch_core_base.ko \ 41 device/google/wahoo-kernel/kasan/ftm4.ko \ 42 device/google/wahoo-kernel/kasan/sw49408.ko \ 43 device/google/wahoo-kernel/kasan/lge_battery.ko 44else 45BOARD_VENDOR_KERNEL_MODULES += \ 46 device/google/wahoo-kernel/touch_core_base.ko \ 47 device/google/wahoo-kernel/ftm4.ko \ 48 device/google/wahoo-kernel/sw49408.ko \ 49 device/google/wahoo-kernel/lge_battery.ko 50endif 51 52-include vendor/google_devices/taimen/proprietary/BoardConfigVendor.mk 53 54# Testing related defines 55BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh 56 57BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/ 58 59# Rounded corners recovery UI. 105px = 30dp * 3.5 density, where 30dp comes from 60# rounded_corner_radius in overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml. 61TARGET_RECOVERY_UI_MARGIN_HEIGHT := 105 62