blob: 548028cc567ecc1108af70ee6c8bea7c2816c143 [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("//build/config/fuchsia/rules.gni")
driver_module("c18") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
sources = [
"c18-gpio.cc",
"c18-msdc0.cc",
"c18-soc.cc",
"c18-spi.cc",
"c18.cc",
]
deps = [
"//sdk/banjo/ddk.protocol.gpioimpl",
"//sdk/banjo/ddk.protocol.platform.bus",
"//src/devices/lib/driver",
"//src/devices/lib/mmio",
"//src/devices/lib/mt8167",
"//src/devices/lib/mt8183",
"//src/lib/ddk",
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//src/lib/ddktl",
"//zircon/public/lib/zx",
]
# TODO(fxbug.dev/47406): restore some form of data dependency on c18
# boot shim.
}