commit | 5f4877b1659660329708b378be18fd663a084aab | [log] [tgz] |
---|---|---|
author | Timothy Chen <timothytim@google.com> | Tue Nov 30 17:39:10 2021 -0800 |
committer | tjaychen <timothytim@google.com> | Wed Dec 01 17:08:05 2021 -0800 |
tree | ee7622016e2adf40eeed49e4d353d3c176198c22 | |
parent | 0ef339f78cc2fa29ae2ac59dbf9f8971686cec89 [diff] |
[flash_ctrl] Remove oob handling altogether The current oob handling is not complete. It only handles an upper bound check but does not check the lower bound. This means the original issue that caused this error can still happen as long as someone supplies a lower address (such as 0x0). After talking it through with the @a-will, the utility of this feature just seems very minor. It also complicates things by pulling a system address map into a peripheral, which really does not seem like the right way to go about this. As a result, I have removed this feature altogether, and will instead rely on software to make sure the addresses being fed to flash_ctrl are within bounds. Fixes #9444 Signed-off-by: Timothy Chen <timothytim@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).