blob: b5b79b25d2b029aa3350a71a9129a7c6df730e4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#
# Copyright 2018 Joonas Kylmälä
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-include device/samsung/midas-common/BoardConfigCommon.mk
##############
# Board name #
##############
TARGET_BOOTLOADER_BOARD_NAME := odroidu3
############
# Graphics #
############
BOARD_USES_DRM_HWCOMPOSER := true
TARGET_SCREEN_HEIGHT := 768
TARGET_SCREEN_WIDTH := 1024
TARGET_USES_HWC2 := true
##########
# Kernel #
##########
BOARD_DTB_IMAGE_NAME := exynos4412-odroidu3.dtb
#############
# Partition #
#############
# Block size
BOARD_FLASH_BLOCK_SIZE := 512
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608
BOARD_CACHEIMAGE_PARTITION_SIZE := 1073741824
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 13685312
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
# TODO: figure out if it is possible to increase USERDATA partition size
BOARD_USERDATAIMAGE_PARTITION_SIZE := 11378320
############
# Recovery #
############
TARGET_RECOVERY_FSTAB := device/hardkernel/odroidu3/fstab.odroidu3
TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888
|