Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu_sf.c17 *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 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
H A DREADME.mx6qsabrelite43 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 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
/rk3399_rockchip-uboot/doc/SPI/
H A DREADME.ti_qspi_dra_test23 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 DREADME.sandbox-spi21 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 DREADME.sh_qspi_test28 => sf probe 0
30 => sf erase 80000 40000
32 => sf write 40000000 80000 175364
H 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
H A DREADME.ftssp010_spi_test21 => sf probe 0:0
23 => sf read 0x10800000 0 0x400
H A Dstatus.txt10 - sf.c: SPI flash interface, which interacts controller driver.
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/doc/
H 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>
/rk3399_rockchip-uboot/board/congatec/cgtqmx6eval/
H 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
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dmrccache.c109 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 DREADME.sh7752evb62 => sf probe 0
65 => sf erase 0 80000
67 => sf write 0x48000000 0 80000
H A DREADME.sh7753evb62 => sf probe 0
65 => sf erase 0 80000
67 => sf write 0x48000000 0 80000
H A DREADME.pblimage38 =>sf probe 0
39 =>sf erase 0 100000
40 =>sf write 100000 0 $filesize
/rk3399_rockchip-uboot/board/renesas/sh7757lcr/
H A DREADME.sh7757lcr72 => sf probe 0
75 => sf erase 0 80000
77 => sf write 0x89000000 0 80000
/rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/
H 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}
/rk3399_rockchip-uboot/common/
H A Dsplash_source.c25 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 DREADME76 => 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 DMakefile28 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 Dmrccache.h56 int mrccache_update(struct udevice *sf, struct mrc_region *entry,
/rk3399_rockchip-uboot/doc/mvebu/cmd/
H A Dbubt.txt33 - 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 DMakefile8 obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
/rk3399_rockchip-uboot/board/aries/ma5d4evk/
H A Dma5d4evk.c284 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()

12