| /rk3399_rockchip-uboot/drivers/dfu/ |
| H A D | dfu_sf.c | 17 *size = dfu->data.sf.size; in dfu_get_medium_size_sf() 25 return spi_flash_read(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_read_medium_sf() 31 return (lldiv((start + offset), dfu->data.sf.dev->sector_size)) * in find_sector() 32 dfu->data.sf.dev->sector_size; in find_sector() 40 ret = spi_flash_erase(dfu->data.sf.dev, in dfu_write_medium_sf() 41 find_sector(dfu, dfu->data.sf.start, offset), in dfu_write_medium_sf() 42 dfu->data.sf.dev->sector_size); in dfu_write_medium_sf() 46 ret = spi_flash_write(dfu->data.sf.dev, dfu->data.sf.start + offset, in dfu_write_medium_sf() 66 spi_flash_free(dfu->data.sf.dev); in dfu_free_entity_sf() 123 dfu->data.sf.dev = parse_dev(devstr_bkup); in dfu_fill_entity_sf() [all …]
|
| /rk3399_rockchip-uboot/board/boundary/nitrogen6x/ |
| H 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
|
| H A D | README.mx6qsabrelite | 43 MX6Q SABRELITE U-Boot > sf probe 44 MX6Q SABRELITE U-Boot > sf erase 0 0x40000 45 MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
|
| /rk3399_rockchip-uboot/board/Marvell/db-88f6820-gp/ |
| H A D | README | 10 => 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
|
| /rk3399_rockchip-uboot/doc/SPI/ |
| H A D | README.ti_qspi_dra_test | 23 U-Boot# sf probe 0 26 U-Boot# sf erase 0 0x10000 28 U-Boot# sf erase 0x20000 0x10000 30 U-Boot# sf erase 0x30000 0x10000 32 U-Boot# sf erase 0x40000 0x10000 34 U-Boot# sf erase 0x50000 0x10000 36 U-Boot# sf erase 0x60000 0x10000 38 U-Boot# sf write 82000000 0 0x10000 40 U-Boot# sf write 83000000 0x20000 0x60000
|
| H A D | README.sandbox-spi | 21 U-Boot it started you can use 'sf' commands as normal. For example: 24 -c "sf probe; sf test 0 100000; sf read 0 1000 1000; \ 25 sf erase 1000 1000; sf write 0 1000 1000"
|
| H A D | README.sh_qspi_test | 28 => sf probe 0 30 => sf erase 80000 40000 32 => sf write 40000000 80000 175364
|
| H 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
|
| H A D | README.ftssp010_spi_test | 21 => sf probe 0:0 23 => sf read 0x10800000 0 0x400
|
| H A D | status.txt | 10 - sf.c: SPI flash interface, which interacts controller driver.
|
| /rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
| H 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>
|
| /rk3399_rockchip-uboot/board/congatec/cgtqmx6eval/ |
| H A D | README | 26 => sf probe 34 => sf erase 0x0 0x10000 36 => sf write 0x12000000 0x400 0x10000 40 => sf erase 0x10000 0x70000 42 => sf write 0x12000000 0x10000 0x70000
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | mrccache.c | 109 int mrccache_update(struct udevice *sf, struct mrc_region *entry, in mrccache_update() argument 142 ret = spi_flash_erase_dm(sf, entry->offset, entry->length); in mrccache_update() 153 ret = spi_flash_write_dm(sf, offset, cur->data_size + sizeof(*cur), in mrccache_update() 235 struct udevice *sf; in mrccache_save() local 243 ret = mrccache_get_region(&sf, &entry); in mrccache_save() 247 ret = mrccache_update(sf, &entry, data); in mrccache_save()
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.sh7752evb | 62 => sf probe 0 65 => sf erase 0 80000 67 => sf write 0x48000000 0 80000
|
| H A D | README.sh7753evb | 62 => sf probe 0 65 => sf erase 0 80000 67 => sf write 0x48000000 0 80000
|
| H A D | README.pblimage | 38 =>sf probe 0 39 =>sf erase 0 100000 40 =>sf write 100000 0 $filesize
|
| /rk3399_rockchip-uboot/board/renesas/sh7757lcr/ |
| H A D | README.sh7757lcr | 72 => sf probe 0 75 => sf erase 0 80000 77 => sf write 0x89000000 0 80000
|
| /rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/ |
| H A D | README | 99 > 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}
|
| /rk3399_rockchip-uboot/common/ |
| H A D | splash_source.c | 25 static struct spi_flash *sf; variable 28 if (!sf) { in splash_sf_read_raw() 29 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, in splash_sf_read_raw() 33 if (!sf) in splash_sf_read_raw() 37 return spi_flash_read(sf, offset, read_size, (void *)bmp_load_addr); in splash_sf_read_raw()
|
| /rk3399_rockchip-uboot/board/freescale/p2041rdb/ |
| H A D | README | 76 => sf erase 0 100000 77 => sf write 1000000 0 $filesize 81 => sf erase 110000 10000 82 => sf write 1000000 110000 $filesize
|
| /rk3399_rockchip-uboot/env/ |
| H A D | Makefile | 28 obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += sf.o 59 obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += sf.o
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | mrccache.h | 56 int mrccache_update(struct udevice *sf, struct mrc_region *entry,
|
| /rk3399_rockchip-uboot/doc/mvebu/cmd/ |
| H A D | bubt.txt | 33 - SPI: # sf probe 0 34 # sf erase 0 100000 62 - SPI: # sf write <load_address> 0 <ATF Size>
|
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | Makefile | 8 obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
|
| /rk3399_rockchip-uboot/board/aries/ma5d4evk/ |
| H A D | ma5d4evk.c | 284 struct spi_flash *sf; in board_identify() local 285 sf = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, CONFIG_SF_DEFAULT_CS, in board_identify() 287 boot_mode_sf = (sf != NULL); in board_identify()
|