blob: 77681dabc51f6665f07bb14f8cfe39c1c723003b [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 Hillenbrand80321d62013-05-05 17:58:24 +020027# inherit from common m7-common
Richard Ross5a756082013-04-26 20:33:28 -040028-include device/htc/m7-common/BoardConfigCommon.mk
David Hays2ba37a02013-02-23 13:33:50 -060029
Ethan Chenaacb7ea2013-05-28 19:30:11 -070030# Assert
Ethan Chen641e8c32013-05-29 14:26:53 -070031TARGET_OTA_ASSERT_DEVICE := m7wls,m7spr
Ethan Chenaacb7ea2013-05-28 19:30:11 -070032
Flyhalf20594560412013-03-30 11:08:47 -050033# Bootloader
Jared Caliendo3e31c512013-04-20 16:50:53 -070034TARGET_BOOTLOADER_BOARD_NAME := m7wls
Flyhalf20594560412013-03-30 11:08:47 -050035
Ethan Chen8e3b5222013-05-28 14:21:54 -070036# Filesystem
37BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
38BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776704
39BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032
40BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424
41BOARD_FLASH_BLOCK_SIZE := 131072
42
Daniel Hillenbrandaf8405b2013-06-04 00:47:38 +020043# RIL
44BOARD_PROVIDES_LIBRIL := true
45
Jared Caliendo3e31c512013-04-20 16:50:53 -070046# cat /proc/emmc:
47# dev: size erasesize name
48# mmcblk0p19: 000ffa00 00000200 "misc"
49# mmcblk0p36: 00fffe00 00000200 "recovery"
50# mmcblk0p35: 01000000 00000200 "boot"
51# mmcblk0p37: 73fffc00 00000200 "system"
52# mmcblk0p26: 00140200 00000200 "local"
53# mmcblk0p38: 27fffe00 00000200 "cache"
54# mmcblk0p39: 680000000 00000200 "userdata"
55# mmcblk0p22: 01400000 00000200 "devlog"
56# mmcblk0p24: 00040000 00000200 "pdata"
57# mmcblk0p27: 00010000 00000200 "extra"
58# mmcblk0p33: 04b00200 00000200 "radio"
59# mmcblk0p16: 03c00400 00000200 "adsp"
60# mmcblk0p15: 00100000 00000200 "dsps"
61# mmcblk0p17: 007ffa00 00000200 "radio_config"
62# mmcblk0p20: 00400000 00000200 "modem_st1"
63# mmcblk0p21: 00400000 00000200 "modem_st2"
64# mmcblk0p29: 00040000 00000200 "skylink"
65# mmcblk0p30: 01900000 00000200 "carrier"
66# mmcblk0p28: 00100000 00000200 "cdma_record"
67# mmcblk0p18: 02000000 00000200 "reserve_1"
68# mmcblk0p32: 034ffa00 00000200 "reserve_2"
69# mmcblk0p34: 05fffc00 00000200 "reserve_3"
70# mmcblk0p31: 04729a00 00000200 "reserve"
Daniel Hillenbrand897e8132013-04-27 13:44:01 +020071
72# inherit from the proprietary version
Ethan Chen8e3b5222013-05-28 14:21:54 -070073-include vendor/htc/m7spr/BoardConfigVendor.mk