Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/mtd/spi-nor/
H A Dsysfs.c59 struct sfdp *sfdp = nor->sfdp; in sfdp_read() local
60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read()
62 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read()
65 static BIN_ATTR_RO(sfdp, 0);
94 if (attr == &bin_attr_sfdp && nor->sfdp) in spi_nor_sysfs_is_bin_visible()
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.
415 * defined by the SFDP (JESD216) specification.
1037 * SFDP table that indicates support for Page Program Commands. in spi_nor_parse_4bait()
1083 /* 4BAIT is the only SFDP table that indicates page program support. */ in spi_nor_parse_4bait()
[all …]
H A Dcore.h10 #include "sfdp.h"
204 * Erase Types with the ones identified in the SFDP
340 * Serial Flash Discoverable Parameters (SFDP) tables.
364 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter
419 * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs
422 * when information provided by the SFDP/flash_info tables are
425 * JESD216 SFDP standard, or where SFDP tables not defined at all.
428 * Those hooks can be used to tweak the SPI NOR configuration when the SFDP
453 * @parse_sfdp: true when flash supports SFDP tables. The false value has no
454 * meaning. If one wants to skip the SFDP tables, one should
[all …]
H A Dgigadevice.c20 * GD25Q256 GENERATION | SFDP MAJOR VERSION | SFDP MINOR VERSION in gd25q256_post_bfpt()
H A Dcore.c1844 * pull these from CFI/SFDP, but these values should be good in spi_nor_erase()
1959 * This is one of the procedures to set the QE bit described in the SFDP
2070 /* Fallback to a generic flash described only by its SFDP data. */ in spi_nor_detect()
2528 * solely by SFDP, then the largest supported erase type
2766 * flashes that do not define SFDP tables. If the flash supports SFDP but the
2768 * by parsing SFDP, one should instead use the fixup hooks and update the wrong
2837 * in the JESD216 SFDP standard, thus can not be retrieved when parsing SFDP.
2879 * be discovered by SFDP for this particular flash because the SFDP table that
2901 * SFDP standard, or where SFDP tables are not defined at all.
2944 * parameters and settings based on JESD216 SFDP standard.
[all …]
H A Dsfdp.h10 /* SFDP revisions */
16 /* SFDP DWORDS are indexed from 1 but C arrays are indexed from 0. */
H A DMakefile3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
H A Dwinbond.c30 * To differentiate between W25Q256JV and W25Q256FV check SFDP header in w25q256_post_bfpt_fixups()
233 * This requirement is not described in the JESD216 SFDP standard, thus in winbond_nor_late_init()
H A Dspansion.c610 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s25hx_t_post_sfdp_fixup()
678 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s28hx_t_post_sfdp_fixup()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-spi-devices-spi-nor19 known to the kernel and is only probed by its SFDP
29 What: /sys/bus/spi/devices/.../spi-nor/sfdp
34 device supports the "Read SFDP" command (5Ah).
36 If present, it contains the complete SFDP (serial flash
/openbmc/qemu/hw/block/
H A Dm25p80_sfdp.h2 * M25P80 SFDP
14 * SFDP area has a 3 bytes address space.
H A Dtrace-events93 m25p80_read_sfdp(void *s, uint32_t addr, uint8_t v) "[%p] Read SFDP 0x%"PRIx32"=0x%"PRIx8
/openbmc/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 */
/openbmc/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
/openbmc/u-boot/drivers/mtd/spi/
H A DKconfig78 bool "SFDP table parsing support for SPI NOR flashes"
82 SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP)
H A Dspi-nor-core.c1839 * Serial Flash Discoverable Parameters (SFDP) parsing.
1845 * @addr: offset in the SFDP area to start reading data from
1847 * @buf: buffer where the SFDP data are copied into (dma-safe memory)
1850 * for (Fast) Read commands, the Read SFDP (5Ah) instruction is always
1921 u32 signature; /* Ox50444653U <=> "SFDP" */
2128 * defined by the SFDP (JESD216) specification.
2319 /* Get the SFDP header. */ in spi_nor_parse_sfdp()
2324 /* Check the SFDP header version. */ in spi_nor_parse_sfdp()
2340 * Read SFDP command. These parameter headers will actually be parsed in spi_nor_parse_sfdp()
2359 dev_err(dev, "failed to read SFDP parameter headers\n"); in spi_nor_parse_sfdp()
[all …]
H A Dsf_internal.h66 #define SPI_NOR_SKIP_SFDP BIT(13) /* Skip parsing of SFDP tables */
H A Dspi-nor-tiny.c772 /* already configured from SFDP */ in spi_nor_scan()
/openbmc/u-boot/doc/SPI/
H A Dstatus.txt24 - Runtime detection of spi_flash params, SFDP(if possible)
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Djedec,spi-nor.yaml46 SPI NOR flashes compatible with the JEDEC SFDP standard or which may be
/openbmc/u-boot/include/linux/mtd/
H A Dspi-nor.h61 #define SPINOR_OP_RDSFDP 0x5a /* Read SFDP */
413 * JEDEC/SFDP standard to define them. Also at this moment no SPI flash memory
/openbmc/linux/drivers/spi/
H A Dspi-hisi-sfc-v3xx.c59 * stands for x-y-z mode, as described in SFDP terminology. -EIO indicates
H A Dspi-intel.c903 * SFDP data but we want to make sure we only support the operations
/openbmc/u-boot/common/spl/
H A DKconfig799 bool "SFDP table parsing support for SPI NOR flashes"
803 SPI NOR flashes using Serial Flash Discoverable Parameters (SFDP)
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c949 /* only 1-1-1 mode is used to read SFDP */ in aspeed_spi_read_sfdp()
1041 * - if read SFDP content. in aspeed_spi_read()

12