| /u-boot/drivers/dfu/ |
| A D | dfu_sf.c | 19 *size = dfu->data.sf.size; in dfu_get_medium_size_sf() 33 ret = spi_flash_read(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_read_medium_sf() 44 dfu->data.sf.dev->sector_size; in find_sector() 58 ret = spi_flash_write(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_write_medium_sf() 78 length = dfu->data.sf.start + dfu->data.sf.size - off; in dfu_flush_medium_sf() 110 dfu->data.sf.dev = NULL; in dfu_free_entity_sf() 112 if (dfu->data.sf.dev == dev) in dfu_free_entity_sf() 113 dfu->data.sf.dev = NULL; in dfu_free_entity_sf() 175 if (!dfu->data.sf.dev) in dfu_fill_entity_sf() 219 dfu->data.sf.size = pi->size; in dfu_fill_entity_sf() [all …]
|
| /u-boot/board/boundary/nitrogen6x/ |
| A D | 6x_upgrade.txt | 6 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 D | README.mx6qsabrelite | 52 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/Marvell/db-88f6820-gp/ |
| A D | README | 10 => sf probe;tftpboot 2000000 db-88f6820-gp/u-boot-with-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-with-spl.kwb;\ 18 sf erase 0 60000;sf write 2000000 0 60000
|
| /u-boot/board/gardena/smart-gateway-mt7688/ |
| A D | board.c | 92 struct spi_flash *sf; in factory_data_env_config() local 110 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in factory_data_env_config() 114 if (!sf) { in factory_data_env_config() 119 ret = spi_flash_read(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SIZE, in factory_data_env_config() 177 spi_flash_free(sf); in factory_data_env_config() 212 struct spi_flash *sf; in do_fd_write() local 222 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in do_fd_write() 226 if (!sf) { in do_fd_write() 234 ret = spi_flash_read(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SECT_SIZE, in do_fd_write() 281 ret = spi_flash_write(sf, FACTORY_DATA_OFFS, FACTORY_DATA_SECT_SIZE, in do_fd_write() [all …]
|
| /u-boot/doc/SPI/ |
| A D | README.ti_qspi_dra_test | 23 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 D | README.sh_qspi_test | 28 => sf probe 0 30 => sf erase 80000 40000 32 => sf write 40000000 80000 175364
|
| A D | README.ti_qspi_am43x_test | 17 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
|
| /u-boot/doc/usage/cmd/ |
| A D | sf.rst | 3 sf command 14 sf erase <offset>|<partition> <len> 16 sf protect lock|unlock <sector> <len> 17 sf test <offset>|<partition> <len> 168 => sf probe 170 => sf read 1000 1100 80000 190 => sf erase 0 80000 192 => sf read 1000 1100 80000 215 => sf probe 217 => sf erase 300000 80000 [all …]
|
| /u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
| A D | README.qspi | 24 => 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 D | qspiboot.cmd | 10 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 D | README.rst | 71 …=> 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/gateworks/gw_ventana/ |
| A D | gw_ventana.env | 97 sf probe && sf erase 0 80000 && 98 sf write ${loadaddr} 400 ${filesize} 102 sf probe && 103 sf update ${loadaddr} ${spi_koffset} ${filesize} 106 if sf probe && 107 sf read ${loadaddr} ${spi_koffset} ${spi_klen}; then
|
| /u-boot/arch/x86/lib/ |
| A D | mrccache.c | 136 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/drivers/mtd/spi/ |
| A D | sf_bootdev.c | 20 struct udevice *sf = dev_get_parent(dev); in sf_get_bootflow() local 37 ret = spi_flash_read_dm(sf, env_get_hex("script_offset_f", 0), in sf_get_bootflow()
|
| /u-boot/configs/ |
| A D | ds414_defconfig | 32 CONFIG_BOOTCOMMAND="sf probe; sf read ${loadaddr} 0xd0000 0x2d0000; sf read ${ramdisk_addr_r} 0x3a0…
|
| A D | sama5d36ek_cmp_spiflash_defconfig | 29 CONFIG_BOOTCOMMAND="sf probe 0; sf read 0x21000000 0x60000 0xc000; sf read 0x22000000 0x6c000 0x394…
|
| A D | ls2088ardb_qspi_SECURE_BOOT_defconfig | 33 …OOTCOMMAND="sf probe 0:0; sf read 0x806c0000 0x6c0000 0x40000; env exists mcinitcmd && env exists …
|
| A D | ls2081ardb_defconfig | 36 …OOTCOMMAND="sf probe 0:0; sf read 0x806c0000 0x6c0000 0x40000; env exists mcinitcmd && env exists …
|
| A D | evb-rv1108_defconfig | 15 CONFIG_BOOTCOMMAND="sf probe;sf read 0x62000000 0x140800 0x500000;dcache off;go 0x62000000"
|
| A D | ls2088ardb_qspi_defconfig | 37 …OOTCOMMAND="sf probe 0:0; sf read 0x806c0000 0x6c0000 0x40000; env exists mcinitcmd && env exists …
|
| A D | sam9x60ek_qspiflash_defconfig | 29 CONFIG_BOOTCOMMAND="sf probe 0; sf read 0x21000000 0x180000 0x80000; sf read 0x22000000 0x200000 0x…
|
| A D | ls1088aqds_qspi_SECURE_BOOT_defconfig | 36 CONFIG_BOOTCOMMAND="sf probe 0:0;sf read 0x80001000 0xd00000 0x100000; fsl_mc lazyapply dpl 0x80001…
|
| /u-boot/arch/x86/lib/fsp2/ |
| A D | fsp_init.c | 127 struct udevice *sf; in fsp_locate_fsp() local 130 ret = uclass_find_first_device(UCLASS_SPI_FLASH, &sf); in fsp_locate_fsp() 133 ret = dm_spi_get_mmap(sf, &map_base, &map_size, &offset); in fsp_locate_fsp()
|
| /u-boot/doc/board/nxp/ |
| A D | imx8mm_evk.rst | 79 $ sf probe 80 $ sf erase 0 <size_of_flash.bin_in_hex> 81 $ sf write $loadaddr 0x00 <size_of_flash.bin_in_hex>
|