commit | d481eae7870ded78d1d455d387a3f7f75d5b9f35 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@opentitan.org> | Fri Nov 05 16:40:27 2021 +0000 |
committer | Eunchan Kim <eunchan@opentitan.org> | Tue Nov 09 18:10:48 2021 +0000 |
tree | 3ee5904555347ee4693874b45a39d77edd560d5d | |
parent | 3b3bf9f0e2175dfee608a2263516e53d6601a03a [diff] |
[spi_device] Data Manipulation logic This commit implements the data manipulation feature in the passthrough mode. The data manipulation in the passthrough let SW change any bit of the first 4 bytes of the write data to the downstream flash device. To enable, SW may configure: - PAYLOAD_SWAP CSRs: set mask, data to change certain bits of the payload. - CMD_INFO.payload_swap_en: set to 1 to enable the feature (command specific) Note that enabling the feature depends on the command basis and the SWAP data is shared across all the commands. Signed-off-by: Eunchan Kim <eunchan@opentitan.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).