blob: fa6a38755828ca21d02a5a53015e7ece1635809e [file] [log] [blame]
Flyhalf20594560412013-03-30 11:08:47 -05001# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# This file sets variables that control the way modules are built
17# thorughout the system. It should not be used to conditionally
18# disable makefiles (the proper mechanism to control what gets
19# included in a build is to use PRODUCT_PACKAGES in a product
20# definition file).
21#
22
23# WARNING: This line must come *before* including the proprietary
24# variant, so that it gets overwritten by the parent (which goes
25# against the traditional rules of inheritance).
26
Daniel Hillenbrandb6138622013-05-05 17:51:39 +020027# inherit from common m7-common
Daniel Hillenbrand0d63d762013-04-27 13:43:05 +020028-include device/htc/m7-common/BoardConfigCommon.mk
David Hays2ba37a02013-02-23 13:33:50 -060029
Ethan Chenc434b912013-05-28 19:28:58 -070030# Assert
Ethan Chene476ca42014-01-06 15:44:27 -080031TARGET_OTA_ASSERT_DEVICE := m7,m7att,m7tmo,m7ul
Ethan Chenc434b912013-05-28 19:28:58 -070032
Daniel Hillenbrand0d63d762013-04-27 13:43:05 +020033# Bootloader
h8rift240ecb82013-04-21 09:23:43 -050034TARGET_BOOTLOADER_BOARD_NAME := m7
Flyhalf20594560412013-03-30 11:08:47 -050035
Flyhalf20594560412013-03-30 11:08:47 -050036# Filesystem
David Hays2ba37a02013-02-23 13:33:50 -060037BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032
David Haysc6b475e2013-03-04 11:17:57 -060038BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424
Matt Mower3e174062014-11-19 16:08:21 -060039BOARD_CACHEIMAGE_PARTITION_SIZE := 671088128
40BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
Jared Caliendo33a67332013-05-03 08:06:14 -070041
Jared Caliendo3e31c512013-04-20 16:50:53 -070042# cat /proc/emmc:
Shane Passmorea79bc682013-04-22 06:04:49 -050043# dev: size erasesize name
Jared Caliendo3e31c512013-04-20 16:50:53 -070044# mmcblk0p19: 000ffa00 00000200 "misc"
Shane Passmorea79bc682013-04-22 06:04:49 -050045# mmcblk0p34: 00fffe00 00000200 "recovery"
46# mmcblk0p33: 01000000 00000200 "boot"
47# mmcblk0p35: 73fffc00 00000200 "system"
Jared Caliendo3e31c512013-04-20 16:50:53 -070048# mmcblk0p26: 00140200 00000200 "local"
Shane Passmorea79bc682013-04-22 06:04:49 -050049# mmcblk0p36: 27fffe00 00000200 "cache"
50# mmcblk0p37: 680000000 00000200 "userdata"
Jared Caliendo3e31c512013-04-20 16:50:53 -070051# mmcblk0p22: 01400000 00000200 "devlog"
52# mmcblk0p24: 00040000 00000200 "pdata"
53# mmcblk0p27: 00010000 00000200 "extra"
Shane Passmorea79bc682013-04-22 06:04:49 -050054# mmcblk0p31: 04b00200 00000200 "radio"
Jared Caliendo3e31c512013-04-20 16:50:53 -070055# mmcblk0p16: 03c00400 00000200 "adsp"
56# mmcblk0p15: 00100000 00000200 "dsps"
57# mmcblk0p17: 007ffa00 00000200 "radio_config"
58# mmcblk0p20: 00400000 00000200 "modem_st1"
59# mmcblk0p21: 00400000 00000200 "modem_st2"
Jared Caliendo3e31c512013-04-20 16:50:53 -070060# mmcblk0p28: 00100000 00000200 "cdma_record"
61# mmcblk0p18: 02000000 00000200 "reserve_1"
Shane Passmorea79bc682013-04-22 06:04:49 -050062# mmcblk0p30: 034ffa00 00000200 "reserve_2"
63# mmcblk0p32: 05fffc00 00000200 "reserve_3"
64# mmcblk0p29: 06069e00 00000200 "reserve"
Daniel Hillenbrand6953cc52013-04-26 20:18:04 +020065
66# inherit from the proprietary version
Ethan Chene476ca42014-01-06 15:44:27 -080067-include vendor/htc/m7/BoardConfigVendor.mk