Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 25 of 37) sorted by relevance

12

/drivers/mtd/spi/
A Dsf_probe.c99 ret = spi_nor_scan(flash); in spi_flash_probe_slave()
126 struct spi_flash *flash; in spi_flash_probe() local
133 flash = calloc(1, sizeof(*flash)); in spi_flash_probe()
134 if (!flash) { in spi_flash_probe()
139 flash->spi = bus; in spi_flash_probe()
142 free(flash); in spi_flash_probe()
146 return flash; in spi_flash_probe()
160 free(flash); in spi_flash_free()
214 struct spi_flash *flash; in spi_flash_std_probe() local
217 flash->dev = dev; in spi_flash_std_probe()
[all …]
A Dsf_mtd.c15 return add_mtd_device(&flash->mtd); in spi_flash_mtd_register()
20 del_mtd_device(&flash->mtd); in spi_flash_mtd_unregister()
31 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_erase() local
34 if (!flash) in spi_flash_mtd_erase()
54 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_read() local
57 if (!flash) in spi_flash_mtd_read()
70 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_write() local
73 if (!flash) in spi_flash_mtd_write()
123 sf_mtd_info.size = flash->size; in spi_flash_mtd_register()
124 sf_mtd_info.priv = flash; in spi_flash_mtd_register()
[all …]
A Dfsl_espi_spl.c18 struct spi_flash *flash; in fsl_spi_spl_load_image() local
20 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, in fsl_spi_spl_load_image()
22 if (flash == NULL) { in fsl_spi_spl_load_image()
27 spi_flash_read(flash, offs, size, vdst); in fsl_spi_spl_load_image()
42 struct spi_flash *flash; in fsl_spi_boot() local
46 if (flash == NULL) { in fsl_spi_boot()
58 buf = malloc(flash->page_size); in fsl_spi_boot()
63 memset(buf, 0, flash->page_size); in fsl_spi_boot()
65 spi_flash_read(flash, CFG_CFG_DATA_SECTOR, in fsl_spi_boot()
66 flash->page_size, (void *)buf); in fsl_spi_boot()
[all …]
A DKconfig4 bool "Enable Driver Model for SPI flash"
8 Enable driver model for SPI flash. This SPI flash interface
46 flash is present on the system.
155 bool "Atmel SPI flash support"
160 bool "EON SPI flash support"
170 bool "ISSI SPI flash support"
216 bool "SST SPI flash support"
226 bool "XMC SPI flash support"
232 bool "XTX SPI flash support"
235 SPI flash chips (XT25xxx).
[all …]
A Dsf_internal.h80 int spi_flash_cmd_get_sw_write_prot(struct spi_flash *flash);
83 int spi_flash_mtd_register(struct spi_flash *flash);
84 void spi_flash_mtd_unregister(struct spi_flash *flash);
86 static inline int spi_flash_mtd_register(struct spi_flash *flash) in spi_flash_mtd_register() argument
91 static inline void spi_flash_mtd_unregister(struct spi_flash *flash) in spi_flash_mtd_unregister() argument
/drivers/fastboot/
A Dfb_spi_flash.c16 static struct spi_flash *flash; variable
73 flash = dev_get_uclass_priv(new); in fastboot_spi_flash_probe()
74 if (!flash) { in fastboot_spi_flash_probe()
83 static int fastboot_spi_flash_unlock(struct spi_flash *flash, in fastboot_spi_flash_unlock() argument
105 ret = spi_flash_erase(flash, offset, ROUND(len, flash->erase_size)); in fb_spi_flash_sparse_write()
111 ret = spi_flash_write(flash, offset, len, buffer); in fb_spi_flash_sparse_write()
177 if (fastboot_spi_flash_unlock(flash, &part_info)) in fastboot_spi_flash_write()
183 sparse.blksz = flash->sector_size; in fastboot_spi_flash_write()
199 ret = spi_flash_erase(flash, part_info.start, in fastboot_spi_flash_write()
200 ROUND(download_bytes, flash->erase_size)); in fastboot_spi_flash_write()
[all …]
A DKconfig11 the bootloader stage. It allows the user to flash the
97 The fastboot protocol includes a "flash" command for writing
99 this to enable the "fastboot flash" command.
123 bool "FASTBOOT on SPI flash"
135 The fastboot "flash" command requires additional information
147 bool "Enable EMMC_BOOT flash/erase"
152 flash/erase eMMC boot partition.
179 bool "Enable eMMC userdata partition flash/erase"
194 The fastboot "flash" and "erase" command supports EMMC_USER.
205 The fastboot "flash" command supports writing the downloaded
[all …]
A Dfb_command.c37 static void flash(char *, char *);
64 .dispatch = CONFIG_IS_ENABLED(FASTBOOT_FLASH, (flash), (NULL))
339 static void __maybe_unused flash(char *cmd_parameter, char *response) in flash() function
/drivers/mtd/
A DKconfig24 bool "Enable parallel NOR flash support"
26 Enable support for parallel NOR flash.
60 prompt "Data-width of the flash device"
117 bool "Poll status on AMD flash chips"
121 bool "Enable buffered writes to flash"
124 Use buffered writes to flash.
131 bool "Non-standard s29ws-n MirrorBit flash"
146 bool "Use hardware flash protection"
157 common flash structure for storing flash geometry.
172 of the flash and print the value to console.
[all …]
A Daltera_qspi.c145 u32 *flash, *last; in altera_qspi_erase() local
157 flash = pdata->base + addr; in altera_qspi_erase()
160 while (flash < last) { in altera_qspi_erase()
161 if (readl(flash) != 0xffffffff) in altera_qspi_erase()
163 flash++; in altera_qspi_erase()
165 if (flash < last) { in altera_qspi_erase()
334 flash->mtd = mtd; in altera_qspi_probe()
335 flash->size = mtd->size; in altera_qspi_probe()
337 flash->flash_id = rdid; in altera_qspi_probe()
338 flash->start[0] = base; in altera_qspi_probe()
[all …]
/drivers/spi/
A DKconfig75 access the SPI NOR flash on platforms embedding this Altera
149 be used to access the SPI flash on platforms embedding this
224 access the SPI NOR flash and SPI Data flash on platforms embedding
242 flash access.
255 access the SPI NOR flash on platforms embedding this Intel
262 This driver can be used to access the SPI NOR flash.
478 flash@0 {
497 bool "ASPEED SPI flash controller driver"
500 Enable ASPEED SPI flash controller driver for AST2500
518 tristate "Socionext F_OSPI SPI flash controller"
[all …]
A Dspi-aspeed-smc.c165 struct aspeed_spi_flash *flash = &priv->flashes[cs]; in ast2400_spi_chip_set_4byte() local
167 flash->ce_ctrl_read |= BIT(13); in ast2400_spi_chip_set_4byte()
168 writel(flash->ce_ctrl_read, &priv->regs->ctrl); in ast2400_spi_chip_set_4byte()
594 struct aspeed_spi_flash *flash = &priv->flashes[cs]; in aspeed_spi_exec_op_user_mode() local
615 ce_ctrl_val = flash->ce_ctrl_user; in aspeed_spi_exec_op_user_mode()
656 writel(flash->ce_ctrl_read, ce_ctrl_reg); in aspeed_spi_exec_op_user_mode()
1076 if (flash->max_freq == 0) { in aspeed_spi_claim_bus()
1078 flash->ce_ctrl_user &= ~(priv->info->clk_ctrl_mask); in aspeed_spi_claim_bus()
1079 flash->ce_ctrl_user |= clk_setting; in aspeed_spi_claim_bus()
1080 flash->ce_ctrl_read &= ~(priv->info->clk_ctrl_mask); in aspeed_spi_claim_bus()
[all …]
A Dcv1800b_spif.c96 static void cv1800b_spi_config_dmmr(struct cv1800b_spi_priv *priv, struct spi_nor *flash) in cv1800b_spi_config_dmmr() argument
99 u32 read_cmd = flash->read_opcode; in cv1800b_spi_config_dmmr()
138 val |= (flash->read_dummy & CV1800B_SPI_TRAN_DUMMY_CYC_MASK) in cv1800b_spi_config_dmmr()
276 struct spi_nor *flash = dev_get_uclass_priv(slave->dev); in cv1800b_spi_exec_op() local
286 cv1800b_spi_config_dmmr(priv, flash); in cv1800b_spi_exec_op()
/drivers/net/pfe_eth/
A DKconfig14 int "Value of SPI flash bus for PFE firmware"
18 int "Value of SPI flash chip select for PFE firmware"
22 int "Value of SPI flash max frequency for PFE firmware"
26 hex "Value of SPI flash work mode for PFE firmware"
/drivers/qe/
A DKconfig36 bool "NOR flash"
39 bool "NAND flash"
42 bool "SPI flash"
/drivers/dfu/
A DKconfig71 bool "SPI flash back end for DFU"
74 This option enables using DFU to read and write to SPI flash based
78 bool "MTD partition support for SPI flash back end"
83 SPI flash DFU back end.
86 bool "VIRTUAL flash back end for DFU"
93 bool "SCSI flash back end for DFU"
/drivers/mtd/ubi/
A DKconfig18 flash chips like wear and bad blocks and provides some other useful
60 flash does not admit of bad eraseblocks (e.g. NOR flash), this value
73 flash chip admits maximum 40 bad eraseblocks, and it is split on two
85 Important: this feature is experimental so far and the on-flash
91 The on-flash fastmap contains all information needed to attach
97 fastmap support. On typical flash devices the whole fastmap fits
/drivers/mtd/nvmxip/
A DKconfig12 on top of a direct access non volatile memory XIP flash devices.
19 This option allows the emulation of a block storage device on top of a QSPI XIP flash
/drivers/mtd/nand/raw/
A DKconfig56 Enable this driver for NAND flash platforms using an Atmel NAND
64 Enable this driver for NAND flash platforms using an Atmel NAND
272 GPMC controller is used for parallel NAND flash devices, and can
412 Enable the driver for Vybrid's vf610 NAND flash on platforms
440 This enables the driver for the NAND flash device found on
496 This enables Nand driver support for Arasan nand flash
506 This enables Nand driver support for Meson raw NAND flash
536 This enables NAND driver for the NAND flash controller on the
545 Enable the driver for MXS NAND flash on platforms using
561 This enables Nand driver support for Nand flash controller
[all …]
A Dpxa3xx_nand.h61 const struct pxa3xx_nand_flash *flash; member
/drivers/bootcount/
A Dspi-flash.c20 struct spi_flash *flash = dev_get_uclass_priv(dev); in bootcount_spi_flash_update() local
21 u32 sector_size = flash->sector_size; in bootcount_spi_flash_update()
A DKconfig139 bool "Support SPI flash devices as a backing store for bootcount"
142 Enabled reading/writing the bootcount in a DM SPI flash device.
144 'u-boot,bootcount-spi-flash' and the 'spi-flash'-property (a phandle
145 pointing to the underlying SPI flash device) and an optional 'offset'
A DMakefile17 obj-$(CONFIG_DM_BOOTCOUNT_SPI_FLASH) += spi-flash.o
/drivers/misc/
A Dcros_ec_sandbox.c176 ec->ec_config.flash.length); in cros_ec_write_state()
709 ec->flash_data_len != ec->ec_config.flash.length) { in cros_ec_probe()
711 ec->flash_data_len, ec->ec_config.flash.length); in cros_ec_probe()
718 ec->flash_data_len = ec->ec_config.flash.length; in cros_ec_probe()
/drivers/block/
A DKconfig5 flash sticks. These provide a block-level interface which permits
28 flash sticks. These provide a block-level interface which permits
39 flash sticks. These provide a block-level interface which permits
51 flash sticks. These provide a block-level interface which permits

Completed in 60 milliseconds

12