blob: 6e3aca2128505535f9e6e23bd07cf16e8b403dce [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
package(default_visibility = ["//visibility:public"])
load("//rules:opentitan.bzl", "OPENTITAN_CPU")
cc_library(
name = "flash_ctrl",
srcs = ["flash_ctrl.c"],
hdrs = ["flash_ctrl.h"],
deprecation = "Deprecated pre-DIF code. We prefer you use the DIFs.",
target_compatible_with = [OPENTITAN_CPU],
deps = [
"//hw/top_earlgrey/ip/flash_ctrl/data/autogen:flash_ctrl_regs",
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/base",
],
)
cc_library(
name = "pinmux",
srcs = ["pinmux.c"],
hdrs = ["pinmux.h"],
deprecation = "Deprecated pre-DIF code. We prefer you use the DIFs.",
target_compatible_with = [OPENTITAN_CPU],
deps = [
"//hw/top_earlgrey/ip/pinmux/data/autogen:pinmux_regs",
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/base",
],
)
cc_library(
name = "ibex_peri",
srcs = ["ibex_peri.c"],
hdrs = ["ibex_peri.h"],
target_compatible_with = [OPENTITAN_CPU],
deps = [
"//hw/ip/rv_core_ibex/data:rv_core_ibex_regs",
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/base",
],
)