blob: 52f667ffb9b230211ab954cb36859ac6513e3735 [file] [log] [blame]
# 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 = "vim2"
_common_bootfs_deps = [
"//src/connectivity/bluetooth/bundles:vim2-bluetooth-hci",
"//src/connectivity/ethernet/drivers/aml-ethernet-s912",
"//src/connectivity/ethernet/drivers/dwmac",
"//src/connectivity/ethernet/drivers/realtek-8211f",
"//src/devices/block/drivers/aml-sdmmc",
"//src/devices/block/drivers/bootpart",
"//src/devices/board/drivers/vim2",
"//src/devices/clock/drivers/amlogic-clk",
"//src/devices/gpio/drivers/aml-gxl-gpio",
"//src/devices/i2c/drivers/aml-i2c",
"//src/devices/registers/drivers/registers",
"//src/devices/rtc/drivers/nxp",
"//src/devices/scpi/drivers/aml-scpi-s912:aml-scpi-s912.mailbox",
"//src/devices/scpi/drivers/aml-scpi-s912:scpi",
"//src/devices/serial/drivers/aml-uart",
"//src/devices/thermal/drivers/aml-thermal-s912",
"//src/graphics/display/drivers/aml-canvas",
"//src/graphics/display/drivers/vim-display",
"//src/graphics/drivers/aml-gpu",
"//src/ui/light/drivers/aml-light",
"//src/ui/light/drivers/gpio-light",
]
board_bootfs_labels += _common_bootfs_deps
board_zedboot_bootfs_labels += _common_bootfs_deps
board_recovery_bootfs_labels += _common_bootfs_deps
board_package_labels += [ "//src/media/audio/bundles:vim2_media_config" ]
# partitions for fx flash to flash
zircon_a_partition = "boot"
zircon_r_partition = "recovery"
fastboot_product = "q200"