blob: 6fd346d5a874b1e6533ff4186474036064221238 [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("@lowrisc_opentitan//rules:otp.bzl", "otp_image")
package(default_visibility = ["//visibility:public"])
exports_files(glob(["autogen/**"]))
filegroup(
name = "all_files",
srcs = glob(["**"]),
)
filegroup(
name = "all_hjson_files",
srcs = glob(["**/*.hjson"]),
)
# A fork from opentitan's hw/ip/otp_ctrl/data:img_rma target. However, there is
# no otp_json_alert_digest_cfg overlay for it requires opentitantool to generate
# the new OWNER_SW_CFG_ROM_ALERT_DIGEST_* values.
otp_image(
name = "otp_img_rma",
src = "@lowrisc_opentitan//hw/ip/otp_ctrl/data:otp_json_rma",
overlays = [
"@lowrisc_opentitan//hw/ip/otp_ctrl/data:otp_json_creator_sw_cfg",
"@lowrisc_opentitan//hw/ip/otp_ctrl/data:otp_json_owner_sw_cfg",
"@lowrisc_opentitan//hw/ip/otp_ctrl/data:otp_json_hw_cfg",
],
)