| 1 |
===================== |
| 2 |
Supported flash chips |
| 3 |
===================== |
| 4 |
|
| 5 |
The info about all supported flash chips is in the ``/flashchips`` directory in the source tree. |
| 6 |
If you have a flashrom repo cloned locally, you can look at this directory in your repo. |
| 7 |
|
| 8 |
Alternatively inspect it on the `web UI of our GitHub mirror <https://github.com/flashrom/flashrom/tree/main/flashchips>`_. |
| 9 |
|
| 10 |
All the files in the ``/flashchips`` directory are included in parent file ``flashchips.c``. You can inspect the source |
| 11 |
`here <https://github.com/flashrom/flashrom/blob/main/flashchips.c>`_. |
| 12 |
|
| 13 |
If you can run flashrom locally, the command ``flashrom -L`` prints the list of all supported flash chips |
| 14 |
(see :doc:`/classic_cli_manpage` for more details on command line options). The output of this command is long, so you might |
| 15 |
want to save it to file or grep. |
| 16 |
|
| 17 |
If you want to check whether a flash chip is supported in the given release, you can rebase your local |
| 18 |
repo at the release tag, alternatively select a tag/branch in GitHub web UI (dropdown on the top-left). |
| 19 |
|
| 20 |
Each chip definition is described by a ``struct flashchip`` in ``include/flash.h``, which you can inspect in the same way, |
| 21 |
either in local source tree or on GitHub web UI. |
| 22 |
|
| 23 |
Note the ``.tested`` status of the chip. If the status is ``TEST_UNTESTED`` this means chip definition has been added purely based on |
| 24 |
datasheet, but without testing on real hardware. |
| 25 |
|
| 26 |
Related documents: |
| 27 |
|
| 28 |
* :doc:`/contrib_howtos/how_to_mark_chip_tested`. |
| 29 |
* :doc:`/contrib_howtos/how_to_add_new_chip`. |