blob: 8ac7f8ccdec420646f4cbff10923127037fd3154 [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
Daniel Hillenbrand0d63d762013-04-27 13:43:05 +020030# Bootloader
h8rift240ecb82013-04-21 09:23:43 -050031TARGET_BOOTLOADER_BOARD_NAME := m7
Flyhalf20594560412013-03-30 11:08:47 -050032
33# Kernel
Shane Passmore33ab2db2013-04-22 05:54:49 -050034BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31
Shane Passmore8ebc4d22013-04-22 18:06:00 -050035
Flyhalf20594560412013-03-30 11:08:47 -050036# Filesystem
David Hays2ba37a02013-02-23 13:33:50 -060037BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
David Hays58844472013-03-04 10:53:26 -060038BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776704
David Hays2ba37a02013-02-23 13:33:50 -060039BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032
David Haysc6b475e2013-03-04 11:17:57 -060040BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424
David Hays2ba37a02013-02-23 13:33:50 -060041BOARD_FLASH_BLOCK_SIZE := 131072
42
Jared Caliendo33a67332013-05-03 08:06:14 -070043# RIL
44BOARD_PROVIDES_LIBRIL := true
45
Jared Caliendo3e31c512013-04-20 16:50:53 -070046# cat /proc/emmc:
Shane Passmorea79bc682013-04-22 06:04:49 -050047# dev: size erasesize name
Jared Caliendo3e31c512013-04-20 16:50:53 -070048# mmcblk0p19: 000ffa00 00000200 "misc"
Shane Passmorea79bc682013-04-22 06:04:49 -050049# mmcblk0p34: 00fffe00 00000200 "recovery"
50# mmcblk0p33: 01000000 00000200 "boot"
51# mmcblk0p35: 73fffc00 00000200 "system"
Jared Caliendo3e31c512013-04-20 16:50:53 -070052# mmcblk0p26: 00140200 00000200 "local"
Shane Passmorea79bc682013-04-22 06:04:49 -050053# mmcblk0p36: 27fffe00 00000200 "cache"
54# mmcblk0p37: 680000000 00000200 "userdata"
Jared Caliendo3e31c512013-04-20 16:50:53 -070055# mmcblk0p22: 01400000 00000200 "devlog"
56# mmcblk0p24: 00040000 00000200 "pdata"
57# mmcblk0p27: 00010000 00000200 "extra"
Shane Passmorea79bc682013-04-22 06:04:49 -050058# mmcblk0p31: 04b00200 00000200 "radio"
Jared Caliendo3e31c512013-04-20 16:50:53 -070059# 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"
Jared Caliendo3e31c512013-04-20 16:50:53 -070064# mmcblk0p28: 00100000 00000200 "cdma_record"
65# mmcblk0p18: 02000000 00000200 "reserve_1"
Shane Passmorea79bc682013-04-22 06:04:49 -050066# mmcblk0p30: 034ffa00 00000200 "reserve_2"
67# mmcblk0p32: 05fffc00 00000200 "reserve_3"
68# mmcblk0p29: 06069e00 00000200 "reserve"
Daniel Hillenbrand6953cc52013-04-26 20:18:04 +020069
70# inherit from the proprietary version
71-include vendor/htc/m7/BoardConfigVendor.mk