Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 1 | # 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 Hillenbrand | b613862 | 2013-05-05 17:51:39 +0200 | [diff] [blame] | 27 | # inherit from common m7-common |
Daniel Hillenbrand | 0d63d76 | 2013-04-27 13:43:05 +0200 | [diff] [blame] | 28 | -include device/htc/m7-common/BoardConfigCommon.mk |
David Hays | 2ba37a0 | 2013-02-23 13:33:50 -0600 | [diff] [blame] | 29 | |
Ethan Chen | c434b91 | 2013-05-28 19:28:58 -0700 | [diff] [blame] | 30 | # Assert |
Ethan Chen | e476ca4 | 2014-01-06 15:44:27 -0800 | [diff] [blame] | 31 | TARGET_OTA_ASSERT_DEVICE := m7,m7att,m7tmo,m7ul |
Ethan Chen | c434b91 | 2013-05-28 19:28:58 -0700 | [diff] [blame] | 32 | |
Daniel Hillenbrand | 0d63d76 | 2013-04-27 13:43:05 +0200 | [diff] [blame] | 33 | # Bootloader |
h8rift | 240ecb8 | 2013-04-21 09:23:43 -0500 | [diff] [blame] | 34 | TARGET_BOOTLOADER_BOARD_NAME := m7 |
Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 35 | |
Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 36 | # Filesystem |
David Hays | 2ba37a0 | 2013-02-23 13:33:50 -0600 | [diff] [blame] | 37 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032 |
David Hays | c6b475e | 2013-03-04 11:17:57 -0600 | [diff] [blame] | 38 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424 |
Matt Mower | 3e17406 | 2014-11-19 16:08:21 -0600 | [diff] [blame] | 39 | BOARD_CACHEIMAGE_PARTITION_SIZE := 671088128 |
| 40 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
Jared Caliendo | 33a6733 | 2013-05-03 08:06:14 -0700 | [diff] [blame] | 41 | |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 42 | # cat /proc/emmc: |
Shane Passmore | a79bc68 | 2013-04-22 06:04:49 -0500 | [diff] [blame] | 43 | # dev: size erasesize name |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 44 | # mmcblk0p19: 000ffa00 00000200 "misc" |
Shane Passmore | a79bc68 | 2013-04-22 06:04:49 -0500 | [diff] [blame] | 45 | # mmcblk0p34: 00fffe00 00000200 "recovery" |
| 46 | # mmcblk0p33: 01000000 00000200 "boot" |
| 47 | # mmcblk0p35: 73fffc00 00000200 "system" |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 48 | # mmcblk0p26: 00140200 00000200 "local" |
Shane Passmore | a79bc68 | 2013-04-22 06:04:49 -0500 | [diff] [blame] | 49 | # mmcblk0p36: 27fffe00 00000200 "cache" |
| 50 | # mmcblk0p37: 680000000 00000200 "userdata" |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 51 | # mmcblk0p22: 01400000 00000200 "devlog" |
| 52 | # mmcblk0p24: 00040000 00000200 "pdata" |
| 53 | # mmcblk0p27: 00010000 00000200 "extra" |
Shane Passmore | a79bc68 | 2013-04-22 06:04:49 -0500 | [diff] [blame] | 54 | # mmcblk0p31: 04b00200 00000200 "radio" |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 55 | # 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 Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 60 | # mmcblk0p28: 00100000 00000200 "cdma_record" |
| 61 | # mmcblk0p18: 02000000 00000200 "reserve_1" |
Shane Passmore | a79bc68 | 2013-04-22 06:04:49 -0500 | [diff] [blame] | 62 | # mmcblk0p30: 034ffa00 00000200 "reserve_2" |
| 63 | # mmcblk0p32: 05fffc00 00000200 "reserve_3" |
| 64 | # mmcblk0p29: 06069e00 00000200 "reserve" |
Daniel Hillenbrand | 6953cc5 | 2013-04-26 20:18:04 +0200 | [diff] [blame] | 65 | |
| 66 | # inherit from the proprietary version |
Ethan Chen | e476ca4 | 2014-01-06 15:44:27 -0800 | [diff] [blame] | 67 | -include vendor/htc/m7/BoardConfigVendor.mk |