-
Notifications
You must be signed in to change notification settings - Fork 33
/
BoardConfig.mk
43 lines (36 loc) · 1.57 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
41
42
43
# 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/yoshino/PlatformConfig.mk
TARGET_BOOTLOADER_BOARD_NAME := unknown
ifneq (,$(filter %g8141,$(TARGET_PRODUCT)))
TARGET_BOOTLOADER_BOARD_NAME := G8141
else ifneq (,$(filter %g8142,$(TARGET_PRODUCT)))
TARGET_BOOTLOADER_BOARD_NAME := G8142
else
TARGET_BOOTLOADER_BOARD_NAME := G8141
$(warning Unrecognized value for TARGET_PRODUCT: "$(TARGET_PRODUCT)", using default value: "$(TARGET_BOOTLOADER_BOARD_NAME)")
endif
# Platform
PRODUCT_PLATFORM := yoshino
BOARD_KERNEL_CMDLINE += androidboot.hardware=maple
# Partition information
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_CACHEIMAGE_PARTITION_SIZE := 398458880
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 7707033600
BOARD_ODMIMAGE_PARTITION_SIZE := 419430400
# Reserve space for data encryption (54587760640-32768)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 54587727872
# Device witout a vendor partition
TARGET_COPY_OUT_VENDOR := system/vendor
#TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/input/clearpad/wakeup_gesture"