-
Notifications
You must be signed in to change notification settings - Fork 27
/
BoardConfig.mk
40 lines (33 loc) · 1.44 KB
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2014 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
include device/sony/loire/PlatformConfig.mk
TARGET_BOOTLOADER_BOARD_NAME := unknown
ifneq (,$(filter %f5321,$(TARGET_PRODUCT)))
TARGET_BOOTLOADER_BOARD_NAME := F5321
else
TARGET_BOOTLOADER_BOARD_NAME := F5321
$(warning Unrecognized value for TARGET_PRODUCT: "$(TARGET_PRODUCT)", using default value: "$(TARGET_BOOTLOADER_BOARD_NAME)")
endif
# Platform
PRODUCT_PLATFORM := loire
BOARD_KERNEL_CMDLINE += androidboot.hardware=kugo
# Partition information
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 6197084160
BOARD_ODMIMAGE_PARTITION_SIZE := 419430400
#Reserve space for data encryption (23894949888-16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 23894933504
TARGET_USES_CASH_EXTENSION := true
#TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/input/clearpad/wakeup_gesture"