Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 64) sorted by relevance

123

/u-boot/drivers/dfu/
A Ddfu_sf.c19 *size = dfu->data.sf.size; in dfu_get_medium_size_sf()
27 return spi_flash_read(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_read_medium_sf()
34 dfu->data.sf.dev->sector_size; in find_sector()
48 ret = spi_flash_write(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_write_medium_sf()
68 length = dfu->data.sf.start + dfu->data.sf.size - off; in dfu_flush_medium_sf()
90 spi_flash_free(dfu->data.sf.dev); in dfu_free_entity_sf()
149 if (!dfu->data.sf.dev) in dfu_fill_entity_sf()
185 dfu->data.sf.start = pi->offset; in dfu_fill_entity_sf()
186 dfu->data.sf.size = pi->size; in dfu_fill_entity_sf()
188 dfu->data.sf.ubi = 1; in dfu_fill_entity_sf()
[all …]
/u-boot/board/Marvell/db-88f6820-gp/
A DREADME10 => sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-spl.kwb;\
11 sf update 2000000 0 60000
14 problems with the "sf update" command. This does not
17 => sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-spl.kwb;\
18 sf erase 0 60000;sf write 2000000 0 60000
/u-boot/board/boundary/nitrogen6x/
A D6x_upgrade.txt6 if sf probe || sf probe || \
7 sf probe 1 27000000 || sf probe 1 27000000 ; then
9 if sf read 0x12400000 $offset $filesize ; then
20 sf erase 0 0xC0000 ;
23 sf write 0x12000000 $offset $filesize ;
25 if sf read 0x12400000 $offset $filesize ; then
A DREADME.mx6qsabrelite52 MX6Q SABRELITE U-Boot > sf probe
53 MX6Q SABRELITE U-Boot > sf erase 0 0x40000
54 MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
84 => sf probe 0
85 => sf erase 0 0xc0000
86 => sf write 0x10800000 0x400 0x80000
/u-boot/board/gardena/smart-gateway-mt7688/
A Dboard.c93 struct spi_flash *sf; in factory_data_env_config() local
111 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in factory_data_env_config()
115 if (!sf) { in factory_data_env_config()
120 ret = spi_flash_read(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SIZE, in factory_data_env_config()
178 spi_flash_free(sf); in factory_data_env_config()
216 struct spi_flash *sf; in do_fd_write() local
226 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in do_fd_write()
230 if (!sf) { in do_fd_write()
238 ret = spi_flash_read(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SECT_SIZE, in do_fd_write()
285 ret = spi_flash_write(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SECT_SIZE, in do_fd_write()
[all …]
/u-boot/doc/SPI/
A DREADME.ti_qspi_dra_test23 U-Boot# sf probe 0
25 U-Boot# sf erase 0 0x10000
27 U-Boot# sf erase 0x20000 0x10000
29 U-Boot# sf erase 0x30000 0x10000
31 U-Boot# sf erase 0x40000 0x10000
33 U-Boot# sf erase 0x50000 0x10000
35 U-Boot# sf erase 0x60000 0x10000
37 U-Boot# sf write 82000000 0 0x10000
39 U-Boot# sf write 83000000 0x20000 0x60000
A DREADME.sh_qspi_test28 => sf probe 0
30 => sf erase 80000 40000
32 => sf write 40000000 80000 175364
A DREADME.ti_qspi_am43x_test17 U-Boot# sf probe 0
19 U-Boot# sf erase 0 0x80000
22 U-Boot# sf write 81000000 0 0x40000
24 U-Boot# sf read 82000000 0 0x40000
A DREADME.ftssp010_spi_test21 => sf probe 0:0
23 => sf read 0x10800000 0 0x400
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/
A DREADME.qspi24 => sf probe 0:0
26 => sf erase 0 +<size of rcw image>
28 => sf write <rcw image in memory> 0 <size of rcw image>
35 => sf probe 0:0
37 => sf erase 10000 +<size of u-boot image>
39 => sf write <u-boot image in memory> 10000 <size of u-boot image>
/u-boot/board/xilinx/bootscripts/
A Dqspiboot.cmd10 sf probe 0 0 0 && sf read $fdt_addr $fdt_offset $fdt_size && sf read $kernel_addr $kernel_offset $k…
/u-boot/board/freescale/ls1021atsn/
A DREADME.rst71 …=> tftp 0x82000000 rcw_1200_qspiboot.bin.swapped && sf probe && sf erase 0x0 +${filesize} && sf wr…
72 …=> tftp 0x82000000 u-boot.bin && sf probe && sf erase 0x100000 +${filesize} && sf write 0x82000000…
73 …=> tftp 0x82000000 uboot-env.bin && sf probe && sf erase 0x400000 +${filesize} && sf write 0x82000…
/u-boot/board/congatec/cgtqmx6eval/
A DREADME26 => sf probe
34 => sf erase 0x0 0x10000
36 => sf write 0x12000000 0x400 0x10000
40 => sf erase 0x10000 0x70000
42 => sf write 0x12000000 0x10000 0x70000
/u-boot/arch/x86/lib/
A Dmrccache.c136 static int mrccache_update(struct udevice *sf, struct mrc_region *entry, in mrccache_update() argument
171 ret = spi_flash_erase_dm(sf, entry->offset, entry->length); in mrccache_update()
182 ret = spi_flash_write_dm(sf, offset, cur->data_size + sizeof(*cur), in mrccache_update()
300 struct udevice *sf; in mrccache_save_type() local
308 ret = mrccache_get_region(type, &sf, &entry); in mrccache_save_type()
311 ret = device_probe(sf); in mrccache_save_type()
316 ret = mrccache_update(sf, &entry, cache); in mrccache_save_type()
/u-boot/arch/x86/lib/fsp2/
A Dfsp_init.c124 struct udevice *sf; in fsp_locate_fsp() local
127 ret = uclass_find_first_device(UCLASS_SPI_FLASH, &sf); in fsp_locate_fsp()
130 ret = dm_spi_get_mmap(sf, &map_base, &map_size, &offset); in fsp_locate_fsp()
/u-boot/board/theobroma-systems/puma_rk3399/
A DREADME99 > sf probe
100 > sf erase 0 +$filesize
101 > sf write $kernel_addr_r 0 ${filesize}
103 > sf erase 0x40000 +$filesize
104 > sf write $kernel_addr_r 0x40000 ${filesize}
/u-boot/common/
A Dsplash_source.c28 static struct spi_flash *sf; variable
31 if (!sf) { in splash_sf_read_raw()
32 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in splash_sf_read_raw()
36 if (!sf) in splash_sf_read_raw()
40 return spi_flash_read(sf, offset, read_size, (void *)(uintptr_t)bmp_load_addr); in splash_sf_read_raw()
/u-boot/board/ti/j721e/
A DREADME239 => sf probe
241 => sf update $loadaddr 0x0 $filesize
243 => sf update $loadaddr 0x80000 $filesize
245 => sf update $loadaddr 0x280000 $filesize
247 => sf update $loadaddr 0x6C0000 $filesize
/u-boot/include/environment/distro/
A Dsf.h34 BOOTENV_SHARED_SF(sf) \
/u-boot/board/freescale/p2041rdb/
A DREADME76 => sf erase 0 100000
77 => sf write 1000000 0 $filesize
81 => sf erase 110000 10000
82 => sf write 1000000 110000 $filesize
/u-boot/doc/mvebu/cmd/
A Dbubt.txt33 - SPI: # sf probe 0
34 # sf erase 0 100000
53 - SPI: # sf write <load_address> 0 <ATF Size>
/u-boot/include/configs/
A Dsifive-fu540.h49 func(SF, sf, 0) \
/u-boot/doc/
A DREADME.pblimage38 =>sf probe 0
39 =>sf erase 0 100000
40 =>sf write 100000 0 $filesize
/u-boot/board/phytec/pcm058/
A DREADME61 => sf probe
62 => sf erase 0x0 0x1000000
71 => sf write ${loadaddr} 0x400 0xD1000
78 => sf write ${fileaddr} 0x400 ${filesize}
/u-boot/drivers/mtd/spi/
A DMakefile6 obj-$(CONFIG_$(SPL_TPL_)DM_SPI_FLASH) += sf-uclass.o

Completed in 19 milliseconds

123