/u-boot/drivers/mtd/spi/ |
A D | sf_dataflash.c | 123 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 D | sf_probe.c | 26 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 D | sf_mtd.c | 19 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 D | sf-uclass.c | 38 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 D | sf_internal.h | 79 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 D | fsl_espi_spl.c | 18 struct spi_flash *flash; in fsl_spi_spl_load_image() 42 struct spi_flash *flash; in fsl_spi_boot()
|
/u-boot/include/ |
A D | spi_flash.h | 96 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 D | spi-flash.c | 15 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 D | spl_spi.c | 28 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 D | rk3399-rockpro64-u-boot.dtsi | 10 u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; 19 spi_flash: flash@0 { label
|
A D | rk3399-roc-pc-u-boot.dtsi | 11 u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdhci, &sdmmc; 44 spi_flash: flash@0 { label
|
A D | rk3399-gru-u-boot.dtsi | 8 &spi_flash {
|
A D | sama5d27_wlsom1.dtsi | 25 qspi1_flash: spi_flash@0 {
|
A D | rk3328-rock64-u-boot.dtsi | 72 spi_flash: spiflash@0 { label
|
A D | vf610-pcm052.dtsi | 244 qflash0: spi_flash@0 { 252 qflash1: spi_flash@1 {
|
/u-boot/doc/SPI/ |
A D | status.txt | 24 - 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 D | image.c | 91 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 D | mscc_servalt_defconfig | 41 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash" 42 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
|
A D | mscc_serval_defconfig | 42 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash" 43 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
|
A D | mscc_jr2_defconfig | 45 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash" 46 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:1m(UBoot),256k(Env),256k(Env.bk)"
|
A D | mscc_luton_defconfig | 48 CONFIG_MTDIDS_DEFAULT="nor0=spi_flash" 49 CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:512k(UBoot),256k(Env),256k(conf),6m@1m(linux)"
|
A D | mscc_ocelot_defconfig | 45 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 D | sf.c | 27 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 D | board.c | 93 struct spi_flash *sf; in factory_data_env_config() 216 struct spi_flash *sf; in do_fd_write()
|
/u-boot/drivers/dfu/ |
A D | dfu_sf.c | 93 static struct spi_flash *parse_dev(char *devstr) in parse_dev() 100 struct spi_flash *dev; in parse_dev()
|