Home
last modified time | relevance | path

Searched refs:spi_flash (Results 1 – 25 of 59) sorted by relevance

123

/u-boot/drivers/mtd/spi/
A Dsf_dataflash.c123 struct spi_flash *spi_flash; in spi_dataflash_erase() local
132 spi = spi_flash->spi; in spi_dataflash_erase()
217 struct spi_flash *spi_flash; in spi_dataflash_read() local
225 spi = spi_flash->spi; in spi_dataflash_read()
273 struct spi_flash *spi_flash; in spi_dataflash_write() local
283 spi = spi_flash->spi; in spi_dataflash_write()
426 struct spi_flash *spi_flash; in add_dataflash() local
434 spi_flash->name = name; in add_dataflash()
593 struct spi_flash *spi_flash; in spi_dataflash_probe() local
598 spi_flash->spi = spi; in spi_dataflash_probe()
[all …]
A Dsf_probe.c26 static int spi_flash_probe_slave(struct spi_flash *flash) in spi_flash_probe_slave()
57 struct spi_flash *spi_flash_probe(unsigned int busnum, unsigned int cs, in spi_flash_probe()
61 struct spi_flash *flash; in spi_flash_probe()
84 void spi_flash_free(struct spi_flash *flash) in spi_flash_free()
98 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_read()
108 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_write()
117 struct spi_flash *flash = dev_get_uclass_priv(dev); in spi_flash_std_erase()
136 struct spi_flash *flash; in spi_flash_std_probe()
A Dsf_mtd.c19 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_erase()
43 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_read()
59 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_write()
85 int spi_flash_mtd_register(struct spi_flash *flash) in spi_flash_mtd_register()
A Dsf-uclass.c38 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, in spi_flash_probe()
49 void spi_flash_free(struct spi_flash *flash) in spi_flash_free()
100 UCLASS_DRIVER(spi_flash) = {
A Dsf_internal.h79 int spi_flash_mtd_register(struct spi_flash *flash);
82 static inline int spi_flash_mtd_register(struct spi_flash *flash) in spi_flash_mtd_register()
A Dfsl_espi_spl.c18 struct spi_flash *flash; in fsl_spi_spl_load_image()
42 struct spi_flash *flash; in fsl_spi_boot()
/u-boot/include/
A Dspi_flash.h96 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
100 void spi_flash_free(struct spi_flash *flash);
102 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read()
108 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write()
114 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
128 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
131 void spi_flash_free(struct spi_flash *flash);
133 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read()
142 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write()
151 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
[all …]
/u-boot/drivers/bootcount/
A Dspi-flash.c15 struct udevice *spi_flash; member
21 struct spi_flash *flash = dev_get_uclass_priv(dev); in bootcount_spi_flash_update()
59 if (bootcount_spi_flash_update(priv->spi_flash, priv->offset, 2, &val) < 0) { in bootcount_spi_flash_set()
72 if (spi_flash_read_dm(priv->spi_flash, priv->offset, 2, &val) < 0) { in bootcount_spi_flash_get()
90 struct udevice *spi_flash; in bootcount_spi_flash_probe() local
97 if (uclass_get_device_by_ofnode(UCLASS_SPI_FLASH, phandle_args.node, &spi_flash)) { in bootcount_spi_flash_probe()
102 priv->spi_flash = spi_flash; in bootcount_spi_flash_probe()
/u-boot/common/spl/
A Dspl_spi.c28 struct spi_flash *flash, in spi_load_image_os()
59 struct spi_flash *flash = load->dev; in spl_spi_fit_read()
69 unsigned int __weak spl_spi_get_uboot_offs(struct spi_flash *flash) in spl_spi_get_uboot_offs()
84 struct spi_flash *flash; in spl_spi_load_image()
/u-boot/arch/arm/dts/
A Drk3399-rockpro64-u-boot.dtsi10 u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci;
19 spi_flash: flash@0 { label
A Drk3399-roc-pc-u-boot.dtsi11 u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdhci, &sdmmc;
44 spi_flash: flash@0 { label
A Drk3399-gru-u-boot.dtsi8 &spi_flash {
A Dsama5d27_wlsom1.dtsi25 qspi1_flash: spi_flash@0 {
A Drk3328-rock64-u-boot.dtsi72 spi_flash: spiflash@0 { label
A Dvf610-pcm052.dtsi244 qflash0: spi_flash@0 {
252 qflash1: spi_flash@1 {
/u-boot/doc/SPI/
A Dstatus.txt24 - Runtime detection of spi_flash params, SFDP(if possible)
26 - Need proper cleanups on spi_flash and drivers.
/u-boot/arch/arm/mach-imx/imx8/
A Dimage.c91 struct spi_flash *flash = (struct spi_flash *)dev; in get_container_size()
187 unsigned long spl_spi_get_uboot_offs(struct spi_flash *flash) in spl_spi_get_uboot_offs()
/u-boot/configs/
A Dmscc_servalt_defconfig41 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
42 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
A Dmscc_serval_defconfig42 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
43 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
A Dmscc_jr2_defconfig45 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
46 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
A Dmscc_luton_defconfig48 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
49 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:512k(UBoot),256k(Env),256k(conf),6m@1m(linux)"
A Dmscc_ocelot_defconfig45 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
46 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:512k(UBoot),256k(Env),256k(conf),15m(linux),15m(linux.b…
/u-boot/cmd/
A Dsf.c27 static struct spi_flash *flash;
98 struct spi_flash *new; in do_spi_flash_probe()
171 static const char *spi_flash_update_block(struct spi_flash *flash, u32 offset, in spi_flash_update_block()
213 static int spi_flash_update(struct spi_flash *flash, u32 offset, in spi_flash_update()
444 static int spi_flash_test(struct spi_flash *flash, uint8_t *buf, ulong len, in spi_flash_test()
/u-boot/board/gardena/smart-gateway-mt7688/
A Dboard.c93 struct spi_flash *sf; in factory_data_env_config()
216 struct spi_flash *sf; in do_fd_write()
/u-boot/drivers/dfu/
A Ddfu_sf.c93 static struct spi_flash *parse_dev(char *devstr) in parse_dev()
100 struct spi_flash *dev; in parse_dev()

Completed in 22 milliseconds

123