| # Copyright 2015 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| CHROMEOS_KERNEL_SPLITCONFIG="chromiumos-mediatek" |
| CHROMEOS_KERNEL_ARCH="arm64" |
| |
| BOARD_COMPILER_FLAGS="-march=armv8-a+crc -mtune=cortex-a57.cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard" |
| |
| # Turn on the video cards this board uses. |
| VIDEO_CARDS="mediatek powervr" |
| |
| # Initial value just for style purposes. |
| LINUX_FIRMWARE="" |
| USE="" |
| |
| # MT8173 VPU firmware |
| LINUX_FIRMWARE="${LINUX_FIRMWARE} mt8173-vpu" |
| |
| USE="${USE} device_tree -dt_compression hardfp kernel-3_18" |
| USE="${USE} mosys_eventlog neon -opengl opengles" |
| USE="${USE} watchdog" |
| |
| # The https://chromium-review.googlesource.com/q/Iaaac2021d7c8b68afce59856f0aaf0a156fdd43d |
| # kernel patch interferes with crashpad. Continue using breakpad on boards |
| # with that patch. |
| USE="${USE} force_breakpad" |
| |
| # Disable CrOS video decoder on this board because we haven't implement V4L2 |
| # stateful VideoDecoder. |
| USE="${USE} disable_cros_video_decoder" |
| |
| # Enable HW codecs using V4L2 API. |
| USE="${USE} v4l2_codec" |