blob: aa34429c1a34e96f51a00c3b0b60135d85381258 [file] [log] [blame]
kyoungheonc46b48b2010-08-18 15:07:38 -07001# Copyright (C) 2007 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
Jean-Baptiste Queru7a16f7f2010-08-19 20:32:42 -070015# BoardConfig.mk
Doug Zongker0428af62010-08-31 15:42:35 -070016#
kyoungheonc46b48b2010-08-18 15:07:38 -070017# Product-specific compile-time definitions.
18#
19
Jean-Baptiste Queru5dc9a142010-09-01 19:07:16 -070020# Set this up here so that BoardVendorConfig.mk can override it
21BOARD_USES_GENERIC_AUDIO := true
22
Jean-Baptiste Queru7a16f7f2010-08-19 20:32:42 -070023# Use the non-open-source parts, if they're present
24-include vendor/samsung/crespo/BoardConfigVendor.mk
25
kyoungheonc46b48b2010-08-18 15:07:38 -070026TARGET_CPU_ABI := armeabi-v7a
27TARGET_CPU_ABI2 := armeabi
28
hyungseoung.yooaaef26c2010-09-02 23:21:37 +090029BOARD_HAVE_BLUETOOTH := true
hyungseoung.yoo7f217b62010-09-15 12:47:10 -070030BOARD_HAVE_BLUETOOTH_BCM := true
hyungseoung.yooaaef26c2010-09-02 23:21:37 +090031
kyoungheonc46b48b2010-08-18 15:07:38 -070032TARGET_NO_BOOTLOADER := true
Brian Swetlandb8876fb2010-09-19 05:07:07 -070033
34TARGET_NO_KERNEL := false
Brian Swetlandb8876fb2010-09-19 05:07:07 -070035
kyoungheonc46b48b2010-08-18 15:07:38 -070036TARGET_NO_RADIOIMAGE := true
kyoungheonc46b48b2010-08-18 15:07:38 -070037TARGET_PROVIDES_INIT_TARGET_RC := true
38TARGET_BOARD_PLATFORM := s5pc110
Ed Heyle46ed822010-08-26 15:34:54 -070039TARGET_BOOTLOADER_BOARD_NAME := crespo
kyoungheonc46b48b2010-08-18 15:07:38 -070040
41TARGET_SEC_INTERNAL_STORAGE := false
42
43# Enable NEON feature
44TARGET_ARCH_VARIANT := armv7-a-neon
45ARCH_ARM_HAVE_TLS_REGISTER := true
46
kyoungheonc46b48b2010-08-18 15:07:38 -070047ifeq ($(BOARD_USES_GENERIC_AUDIO),false)
48BOARD_USES_ALSA_AUDIO := true
49BUILD_WITH_ALSA_UTILS := true
50endif
51
Jeong-Seok Yangfc505e52010-09-13 20:36:00 -070052USE_CAMERA_STUB := false
kyoungheonc46b48b2010-08-18 15:07:38 -070053ifeq ($(USE_CAMERA_STUB),false)
54BOARD_CAMERA_LIBRARIES := libcamera
55endif
56
57BOARD_USES_HGL := true
Ed Heyla37e8d92010-09-01 18:02:40 -070058BOARD_USES_COPYBIT := false
hoony.yuf5bc9d82010-09-07 23:56:11 -070059BOARD_USES_OVERLAY := true
Ed Heyla37e8d92010-09-01 18:02:40 -070060
hoony.yuf5bc9d82010-09-07 23:56:11 -070061DEFAULT_FB_NUM := 2
kyoungheonc46b48b2010-08-18 15:07:38 -070062
63BOARD_NAND_PAGE_SIZE := 4096 -s 128
Ying Wangaf8ea392010-08-23 13:17:28 -070064
65BOARD_KERNEL_BASE := 0x30000000
66BOARD_KERNEL_PAGESIZE := 4096
Doug Zongker0428af62010-08-31 15:42:35 -070067
68TARGET_RECOVERY_UI_LIB := librecovery_ui_crespo
Doug Zongker13e9ba92010-09-03 12:32:27 -070069TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/crespo
Brian Swetland86304be2010-09-15 16:13:20 -070070
71TARGET_USERIMAGES_USE_EXT4 := true
72BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912
73BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
74BOARD_FLASH_BLOCK_SIZE := 4096