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