Home
last modified time | relevance | path

Searched full:sfdp (Results 1 – 16 of 16) sorted by relevance

/linux/Documentation/driver-api/mtd/
H A Dspi-nor.rst9 Serial Flash Discoverable Parameter (SFDP) standard. SFDP describes
13 The SPI NOR driver queries the SFDP tables in order to determine the
14 flash's parameters and settings. If the flash defines the SFDP tables
17 on its SFDP data. All one has to do is to specify the "jedec,spi-nor"
22 that is not covered by the SFDP tables (e.g. Block Protection), or
23 when the flash contains mangled SFDP data. If the later, one needs
24 to implement the ``spi_nor_fixups`` hooks in order to amend the SFDP
39 2) Dump the sysfs entries and print the md5/sha1/sha256 SFDP checksum::
47 root@1:~# xxd -p /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
69 root@1:~# sha256sum /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
[all …]
/linux/drivers/mtd/spi-nor/
H A Dcore.h10 #include "sfdp.h"
15 * have the page size defined within their SFDP tables.
212 * Erase Types with the ones identified in the SFDP
338 * Serial Flash Discoverable Parameters (SFDP) tables.
364 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter
412 * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs
415 * when information provided by the SFDP/flash_info tables are
418 * JESD216 SFDP standard, or where SFDP tables not defined at all.
421 * Those hooks can be used to tweak the SPI NOR configuration when the SFDP
460 * JESD216 standard in its SFDP tables. Flag meanings:
[all …]
H A Dsfdp.c38 u32 signature; /* Ox50444653U <=> "SFDP" */
172 * @addr: offset in the SFDP area to start reading data from
174 * @buf: buffer where the SFDP data are copied into (dma-safe memory)
177 * for (Fast) Read commands, the Read SFDP (5Ah) instruction is always
208 * @addr: offset in the SFDP area to start reading data from
210 * @buf: buffer where the SFDP data are copied into
321 * synchronize with the supported Erase Types defined in SFDP optional tables.
411 * defined by the SFDP (JESD216) specification.
1055 * SFDP table that indicates support for Page Program Commands. in spi_nor_parse_4bait()
1101 /* 4BAIT is the only SFDP table that indicates page program support. */ in spi_nor_parse_4bait()
[all …]
H A Dgigadevice.c20 * GD25Q256 GENERATION | SFDP MAJOR VERSION | SFDP MINOR VERSION in gd25q256_post_bfpt()
H A Dcore.c1742 * pull these from CFI/SFDP, but these values should be good in spi_nor_erase_dice()
1927 * This is one of the procedures to set the QE bit described in the SFDP
2028 /* Fallback to a generic flash described only by its SFDP data. */ in spi_nor_detect()
2682 * flashes that do not define SFDP tables. If the flash supports SFDP but the
2684 * by parsing SFDP, one should instead use the fixup hooks and update the wrong
2755 * in the JESD216 SFDP standard, thus can not be retrieved when parsing SFDP.
2794 * be discovered by SFDP for this particular flash because the SFDP table that
2816 * SFDP standard, or where SFDP tables are not defined at all.
2864 * parameters and settings based on JESD216 SFDP standard.
2867 * The method has a roll-back mechanism: in case the SFDP parsing fails, the
[all …]
H A Dmacronix.c205 * initialized solely based on the SFDP data, but still need the
206 * manufacturer hooks to set parameters that can't be discovered at SFDP
218 /* Use dummy cycles which is parse by SFDP and convert to bit pattern. */ in macronix_nor_octal_dtr_en()
H A Dsfdp.h10 /* SFDP revisions */
16 /* SFDP DWORDS are indexed from 1 but C arrays are indexed from 0. */
H A Dwinbond.c55 * To differentiate between W25Q256JV and W25Q256FV check SFDP header in w25q256_post_bfpt_fixups()
132 /* Flavors w/ and w/o SFDP. */
343 * This requirement is not described in the JESD216 SFDP standard, thus in winbond_nor_late_init()
H A DMakefile3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
H A Dmicron-st.c205 * correspondent for these flashes. The SFDP 4BAIT table fails to in st_nor_four_die_late_init()
221 * correspondent for these flashes. The SFDP 4BAIT table fails to in st_nor_two_die_late_init()
H A Dspansion.c611 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s25hx_t_post_sfdp_fixup()
680 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s28hx_t_post_sfdp_fixup()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-spi-devices-spi-nor19 known to the kernel and is only probed by its SFDP
32 What: /sys/bus/spi/devices/.../spi-nor/sfdp
37 device supports the "Read SFDP" command (5Ah).
39 If present, it contains the complete SFDP (serial flash
/linux/include/linux/mtd/
H A Dspi-nor.h47 #define SPINOR_OP_RDSFDP 0x5a /* Read SFDP */
252 * JEDEC/SFDP standard to define them. Also at this moment no SPI flash memory
372 * @sfdp: the SFDP data of the flash
378 * hooks, or dynamically when parsing the SFDP tables.
410 struct sfdp *sfdp; member
/linux/drivers/mtd/devices/
H A Dserial_flash_cmds.h3 * Generic/SFDP Flash Commands and Device Capabilities
15 /* JEDEC Standard - Serial Flash Discoverable Parmeters (SFDP) Commands */
/linux/Documentation/devicetree/bindings/mtd/
H A Djedec,spi-nor.yaml46 SPI NOR flashes compatible with the JEDEC SFDP standard or which may be
/linux/drivers/spi/
H A Dspi-intel.c907 * SFDP data but we want to make sure we only support the operations