| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 1 | # 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 Queru | 7a16f7f | 2010-08-19 20:32:42 -0700 | [diff] [blame] | 15 | # BoardConfig.mk |
| Doug Zongker | 0428af6 | 2010-08-31 15:42:35 -0700 | [diff] [blame] | 16 | # |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 17 | # Product-specific compile-time definitions. |
| 18 | # |
| 19 | |
| Jean-Baptiste Queru | 5dc9a14 | 2010-09-01 19:07:16 -0700 | [diff] [blame] | 20 | # Set this up here so that BoardVendorConfig.mk can override it |
| 21 | BOARD_USES_GENERIC_AUDIO := true |
| 22 | |
| Jean-Baptiste Queru | 7a16f7f | 2010-08-19 20:32:42 -0700 | [diff] [blame] | 23 | # Use the non-open-source parts, if they're present |
| 24 | -include vendor/samsung/crespo/BoardConfigVendor.mk |
| 25 | |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 26 | TARGET_CPU_ABI := armeabi-v7a |
| 27 | TARGET_CPU_ABI2 := armeabi |
| 28 | |
| hyungseoung.yoo | aaef26c | 2010-09-02 23:21:37 +0900 | [diff] [blame] | 29 | BOARD_HAVE_BLUETOOTH := true |
| hyungseoung.yoo | 7f217b6 | 2010-09-15 12:47:10 -0700 | [diff] [blame] | 30 | BOARD_HAVE_BLUETOOTH_BCM := true |
| hyungseoung.yoo | aaef26c | 2010-09-02 23:21:37 +0900 | [diff] [blame] | 31 | |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 32 | TARGET_NO_BOOTLOADER := true |
| Brian Swetland | b8876fb | 2010-09-19 05:07:07 -0700 | [diff] [blame] | 33 | |
| 34 | TARGET_NO_KERNEL := false |
| Brian Swetland | b8876fb | 2010-09-19 05:07:07 -0700 | [diff] [blame] | 35 | |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 36 | TARGET_NO_RADIOIMAGE := true |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 37 | TARGET_PROVIDES_INIT_TARGET_RC := true |
| 38 | TARGET_BOARD_PLATFORM := s5pc110 |
| Ed Heyl | e46ed82 | 2010-08-26 15:34:54 -0700 | [diff] [blame] | 39 | TARGET_BOOTLOADER_BOARD_NAME := crespo |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 40 | |
| 41 | TARGET_SEC_INTERNAL_STORAGE := false |
| 42 | |
| 43 | # Enable NEON feature |
| 44 | TARGET_ARCH_VARIANT := armv7-a-neon |
| 45 | ARCH_ARM_HAVE_TLS_REGISTER := true |
| 46 | |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 47 | ifeq ($(BOARD_USES_GENERIC_AUDIO),false) |
| 48 | BOARD_USES_ALSA_AUDIO := true |
| 49 | BUILD_WITH_ALSA_UTILS := true |
| 50 | endif |
| 51 | |
| Jeong-Seok Yang | fc505e5 | 2010-09-13 20:36:00 -0700 | [diff] [blame] | 52 | USE_CAMERA_STUB := false |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 53 | ifeq ($(USE_CAMERA_STUB),false) |
| 54 | BOARD_CAMERA_LIBRARIES := libcamera |
| 55 | endif |
| 56 | |
| 57 | BOARD_USES_HGL := true |
| Ed Heyl | a37e8d9 | 2010-09-01 18:02:40 -0700 | [diff] [blame] | 58 | BOARD_USES_COPYBIT := false |
| hoony.yu | f5bc9d8 | 2010-09-07 23:56:11 -0700 | [diff] [blame] | 59 | BOARD_USES_OVERLAY := true |
| Ed Heyl | a37e8d9 | 2010-09-01 18:02:40 -0700 | [diff] [blame] | 60 | |
| hoony.yu | f5bc9d8 | 2010-09-07 23:56:11 -0700 | [diff] [blame] | 61 | DEFAULT_FB_NUM := 2 |
| kyoungheon | c46b48b | 2010-08-18 15:07:38 -0700 | [diff] [blame] | 62 | |
| 63 | BOARD_NAND_PAGE_SIZE := 4096 -s 128 |
| Ying Wang | af8ea39 | 2010-08-23 13:17:28 -0700 | [diff] [blame] | 64 | |
| 65 | BOARD_KERNEL_BASE := 0x30000000 |
| 66 | BOARD_KERNEL_PAGESIZE := 4096 |
| Doug Zongker | 0428af6 | 2010-08-31 15:42:35 -0700 | [diff] [blame] | 67 | |
| 68 | TARGET_RECOVERY_UI_LIB := librecovery_ui_crespo |
| Doug Zongker | 13e9ba9 | 2010-09-03 12:32:27 -0700 | [diff] [blame] | 69 | TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/crespo |
| Brian Swetland | 86304be | 2010-09-15 16:13:20 -0700 | [diff] [blame] | 70 | |
| 71 | TARGET_USERIMAGES_USE_EXT4 := true |
| 72 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912 |
| 73 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824 |
| 74 | BOARD_FLASH_BLOCK_SIZE := 4096 |