Ethan Chen | 584dae5 | 2014-07-30 14:00:11 -0700 | [diff] [blame] | 1 | # Copyright (C) 2014 The CyanogenMod Project |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 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 | |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 15 | # inherit from common msm8660 |
| 16 | -include device/samsung/msm8660-common/BoardConfigCommon.mk |
| 17 | |
Ethan Chen | 584dae5 | 2014-07-30 14:00:11 -0700 | [diff] [blame] | 18 | # Bootloader |
| 19 | TARGET_BOOTLOADER_BOARD_NAME := MSM8660_SURF |
| 20 | |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 21 | # Kernel |
Ethan Chen | 584dae5 | 2014-07-30 14:00:11 -0700 | [diff] [blame] | 22 | BOARD_KERNEL_BASE := 0x40400000 |
| 23 | BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom usb_id_pin_rework=true no_console_suspend=true zcache androidboot.selinux=permissive |
| 24 | BOARD_KERNEL_PAGESIZE := 2048 |
| 25 | BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01400000 |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 26 | |
Ethan Chen | 584dae5 | 2014-07-30 14:00:11 -0700 | [diff] [blame] | 27 | # Recovery |
bryan2894 | 5261666 | 2015-01-24 14:59:16 -0500 | [diff] [blame] | 28 | BOARD_HAS_NO_MISC_PARTITION := true |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 29 | BOARD_HAS_NO_SELECT_BUTTON := true |
David Ferguson | 7273312 | 2012-10-09 17:14:39 -0400 | [diff] [blame] | 30 | BOARD_SUPPRESS_EMMC_WIPE := true |
Paul Keith | 7e31273 | 2015-05-27 07:49:04 -0500 | [diff] [blame^] | 31 | |
| 32 | # TWRP |
| 33 | DEVICE_RESOLUTION := 480x800 |
| 34 | TW_THEME := portrait_mdpi |