| commit | 23c2caeb2201e3bcdb8e798141a6ce834dc85c0a | [log] [tgz] |
|---|---|---|
| author | Michael Munday <mike.munday@lowrisc.org> | Fri Sep 10 13:55:42 2021 +0100 |
| committer | Michael Munday <mike.munday@lowrisc.org> | Wed Sep 29 21:08:06 2021 +0100 |
| tree | 5c238c233dded36eed5a04e580c433f5cc983de6 | |
| parent | ffcfcffffead812a44ee12cdc0efd574ad5604d8 [diff] |
[sw/silicon_creator] Use OTP library in shutdown module 1. Follow the redaction policy in #7353 (no redaction in RMA and test unlocked lifecycle states). 2. Use the OTP library to read from OTP. The OTP and lifecycle libraries use sec_mmio underneath the hood. Since sec_mmio can trigger a call to shutdown_finalize we need to avoid calling it from shutdown_finalize. To acheive this a new shutdown_redact_policy function has been added that determines the redaction policy to apply without using either library. This change required an increase in the number of registers that `sec_mmio_ctx` has capacity to track. I've bumped it up to 200 for now. Signed-off-by: Michael Munday <mike.munday@lowrisc.org>

OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).