commit | 0522de8c3e021933ec096bd0ae39ef0541aca1a5 | [log] [tgz] |
---|---|---|
author | Alphan Ulusoy <alphan@google.com> | Sat Dec 18 14:39:20 2021 -0500 |
committer | Alphan Ulusoy <alphan@google.com> | Tue Dec 21 15:25:36 2021 -0500 |
tree | e5dc52d47eff91f64c7ebb42c8fa6e6c55d5d087 | |
parent | 5d7ea0190a422a86823183318be92ee1ee6e9c41 [diff] |
[sw/silicon_creator] Avoid double-writes when invalidating boot_data entries Currently, we invalidate previous `boot_data` entries by writing 0 to their `identifier` fields. This scheme, however, is not compatible with ECC and scrambling because writing a different value to a previously written flash word results in flash_ctrl errors in subsequent reads. This commit adds a new field (`is_valid`) to `boot_data_t` to be able to invalidate previous `boot_data` entries without modifying previously written flash words. This field is skipped when a `boot_data` entry is written and is only written when invalidating previous entries. Signed-off-by: Alphan Ulusoy <alphan@google.com>
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).