blob: 38451c5fb60ac90451be14890d008acea25f7cf3 [file] [log] [blame] [edit]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//boards/arm64.gni")
board_name = "mt8167s_ref"
custom_signing_script =
"//zircon/kernel/target/arm64/board/mt8167s_ref/package-image.sh"
custom_signing_script_deps =
[ "//zircon/kernel/target/arm64/boot-shim:mt8167s_ref" ]
custom_signing_script_tools = [
"//zircon/tools/lz4",
"//zircon/tools/zbi",
]
_common_bootfs_deps = [
"//src/connectivity/bluetooth/hci/vendor/mediatek:bt-hci-mediatek",
"//src/devices/block/drivers/mtk-sdmmc",
"//src/devices/board/drivers/mt8167s_ref",
"//src/devices/clock/drivers/mtk-clk",
"//src/devices/gpio/drivers/mt-8167",
"//src/devices/i2c/drivers/mt8167-i2c",
"//src/devices/power/drivers/mtk-power",
"//src/devices/rtc/drivers/fallback",
"//src/devices/spi/drivers/mtk-spi",
"//src/devices/thermal/drivers/mtk-thermal",
"//src/devices/usb/drivers/mt-musb-host",
"//src/devices/usb/drivers/mt-musb-peripheral",
"//src/graphics/display/drivers/dsi-mt",
"//src/graphics/display/drivers/mt8167s-display",
"//src/media/audio/drivers/codecs/tas5782",
"//src/media/audio/drivers/codecs/tas58xx",
"//src/media/audio/drivers/mt8167-tdm-input",
"//src/media/audio/drivers/mt8167-tdm-output",
"//src/ui/backlight/drivers/sg-micro",
"//src/ui/input/drivers/bma253",
]
board_bootfs_labels += _common_bootfs_deps
board_zedboot_bootfs_labels += _common_bootfs_deps
board_recovery_bootfs_labels += _common_bootfs_deps
use_vbmeta = true
avb_key =
"//third_party/android/platform/external/avb/test/data/testkey_atx_psk.pem"
avb_atx_metadata =
"//third_party/android/platform/external/avb/test/data/atx_metadata.bin"
zvb_partition_name = "boot"
# partitions for fx flash to flash
zircon_a_partition = "boot_a"
zircon_b_partition = "boot_b"
vbmeta_a_partition = "vbmeta_a"
vbmeta_b_partition = "vbmeta_b"
active_partition = "a"
fastboot_product = "mt8167s"