blob: aa5732b12f29e9b2c91bf09690b0e7af558b229e [file] [log] [blame]
# Copyright 2020 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/common/arm64-common.gni")
board_name = "as370"
board_description = "as370"
board_configs += [ "//build/config/arm64:cortex-a53" ]
_common_bootfs_deps = [
"//boards/kernel_cmdline:as370",
"//src/devices/block/drivers/as370-sdhci",
"//src/devices/block/drivers/ftl",
"//src/devices/block/drivers/sdhci",
"//src/devices/board/drivers/as370",
"//src/devices/clock/drivers/as370-clk",
"//src/devices/gpio/drivers/as370-gpio",
"//src/devices/ml/drivers/as370-nna",
"//src/devices/nand/drivers/cadence-hpnfc",
"//src/devices/nand/drivers/nand",
"//src/devices/nand/drivers/nandpart",
"//src/devices/nand/drivers/skip-block",
"//src/devices/power/drivers/as370-power",
"//src/devices/registers/drivers/registers",
"//src/devices/shareddma/drivers/syn-dma",
"//src/devices/thermal/drivers/as370-thermal",
"//src/devices/usb/drivers/as370-usb-phy",
"//src/devices/usb/drivers/dwc2",
"//src/media/audio/drivers/as370-pdm-input",
"//src/media/audio/drivers/as370-tdm-output",
"//src/media/audio/drivers/codecs/max98373",
]
_common_bootfs_deps += [
"//src/devices/i2c/drivers/dw-i2c",
"//src/ui/input/drivers/cypress",
"//src/ui/light/drivers/lp50xx-light",
]
_common_bootfs_deps += [ "//src/security/policy/zxcrypt:null" ]
board_bootfs_labels += _common_bootfs_deps
board_zedboot_bootfs_labels += _common_bootfs_deps
board_recovery_bootfs_labels += _common_bootfs_deps
board_driver_package_labels += [ "//src/graphics/drivers/msd-vsi-vip" ]
# TODO(fxbug.dev/94099): add back in the future
board_package_labels += [
# "//src/power/thermd",
# "//src/power/thermd:config",
]
custom_signing_script =
"//zircon/kernel/target/arm64/board/as370/package-as370-image.sh"
custom_signing_script_deps = [ "//zircon/kernel/target/arm64/boot-shim:as370" ]
custom_signing_script_tools = [
"//zircon/tools/lz4",
"//zircon/tools/zbi",
]
data_filesystem_format = "minfs"
zircon_a_partition = "boot"
pre_erase_flash = true
build_uefi_disk = false
use_vbmeta = false
use_gigaboot = false
# Supports only physical devices.
board_is_emu = false
board_is_phys = true
partitions_config_label = "//boards/partitions:as370"