commit | 36c73e1497861e5db6e93a6cc0c8ea69e3c2a987 | [log] [tgz] |
---|---|---|
author | Eunchan Kim <eunchan@opentitan.org> | Mon May 17 10:35:34 2021 -0700 |
committer | Eunchan Kim <eunchan@opentitan.org> | Wed Jul 21 16:39:09 2021 -0700 |
tree | b8567337f94d9da7db2d5e9084fc3cb27a30a6b3 | |
parent | af4702c14967e0b17f1978053dc1688eed9f0067 [diff] |
[spi_device] Revise readcmd to use cmd_info CSR This commit revises the `spi_readcmd` submodule in the spi Flash mode. It previously used the pre-defined opcode values and the configurations to parse the address, the existance of the dummy cycle, read IO modes (Single/ Dual/ Quad). Now it uses the SW configurable cmd_info CSR to get the command structures. It introduces mbyte_en field too. It is not fully implemented yet. It is a stopgap to support MByte transition. Full functionality will be implemented later to reduce the amount of the commit size. 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).