Home
last modified time | relevance | path

Searched refs:flash (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/u-boot/board/imgtec/malta/
A Dflash-malta-boot.tcl14 flash device sharp_16x32_be;
17 flash device sharp_16x32;
20 flash clear all;
22 flash erase sector 0xbe000000;
23 flash erase sector 0xbe020000;
24 flash erase sector 0xbe040000;
25 flash erase sector 0xbe060000;
26 flash erase sector 0xbe080000;
27 flash erase sector 0xbe0a0000;
28 flash erase sector 0xbe0c0000;
[all …]
/u-boot/drivers/mtd/spi/
A Dsf_probe.c100 ret = spi_nor_scan(flash); in spi_flash_probe_slave()
127 struct spi_flash *flash; in spi_flash_probe() local
134 flash = calloc(1, sizeof(*flash)); in spi_flash_probe()
135 if (!flash) { in spi_flash_probe()
140 flash->spi = bus; in spi_flash_probe()
143 free(flash); in spi_flash_probe()
147 return flash; in spi_flash_probe()
161 free(flash); in spi_flash_free()
215 struct spi_flash *flash; in spi_flash_std_probe() local
218 flash->dev = dev; in spi_flash_std_probe()
[all …]
A Dsf_mtd.c16 return add_mtd_device(&flash->mtd); in spi_flash_mtd_register()
21 del_mtd_device(&flash->mtd); in spi_flash_mtd_unregister()
32 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_erase() local
35 if (!flash) in spi_flash_mtd_erase()
55 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_read() local
58 if (!flash) in spi_flash_mtd_read()
71 struct spi_flash *flash = mtd->priv; in spi_flash_mtd_write() local
74 if (!flash) in spi_flash_mtd_write()
124 sf_mtd_info.size = flash->size; in spi_flash_mtd_register()
125 sf_mtd_info.priv = flash; in spi_flash_mtd_register()
[all …]
A Dfsl_espi_spl.c18 struct spi_flash *flash; in fsl_spi_spl_load_image() local
20 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, in fsl_spi_spl_load_image()
22 if (flash == NULL) { in fsl_spi_spl_load_image()
27 spi_flash_read(flash, offs, size, vdst); in fsl_spi_spl_load_image()
42 struct spi_flash *flash; in fsl_spi_boot() local
46 if (flash == NULL) { in fsl_spi_boot()
58 buf = malloc(flash->page_size); in fsl_spi_boot()
63 memset(buf, 0, flash->page_size); in fsl_spi_boot()
65 spi_flash_read(flash, CFG_CFG_DATA_SECTOR, in fsl_spi_boot()
66 flash->page_size, (void *)buf); in fsl_spi_boot()
[all …]
A DKconfig4 bool "Enable Driver Model for SPI flash"
8 Enable driver model for SPI flash. This SPI flash interface
46 flash is present on the system.
55 flash is present on the system.
148 bool "Atmel SPI flash support"
153 bool "EON SPI flash support"
163 bool "ISSI SPI flash support"
199 bool "SST SPI flash support"
209 bool "XMC SPI flash support"
215 bool "XTX SPI flash support"
[all …]
A Dsf_internal.h80 int spi_flash_cmd_get_sw_write_prot(struct spi_flash *flash);
84 int spi_flash_mtd_register(struct spi_flash *flash);
85 void spi_flash_mtd_unregister(struct spi_flash *flash);
87 static inline int spi_flash_mtd_register(struct spi_flash *flash) in spi_flash_mtd_register() argument
92 static inline void spi_flash_mtd_unregister(struct spi_flash *flash) in spi_flash_mtd_unregister() argument
/u-boot/include/
A Dspi_flash.h112 static inline void spi_flash_free(struct spi_flash *flash) in spi_flash_free() argument
119 return spi_flash_read_dm(flash->dev, offset, len, buf); in spi_flash_read()
125 return spi_flash_write_dm(flash->dev, offset, len, buf); in spi_flash_write()
131 return spi_flash_erase_dm(flash->dev, offset, len); in spi_flash_erase()
145 void spi_flash_free(struct spi_flash *flash);
150 struct mtd_info *mtd = &flash->mtd; in spi_flash_read()
162 struct mtd_info *mtd = &flash->mtd; in spi_flash_write()
174 struct mtd_info *mtd = &flash->mtd; in spi_flash_erase()
196 if (!flash->flash_lock || !flash->flash_unlock) in spi_flash_protect()
200 return flash->flash_lock(flash, ofs, len); in spi_flash_protect()
[all …]
/u-boot/cmd/
A Dsf.c136 flash = NULL; in do_spi_flash_probe()
144 if (!flash) { in do_spi_flash_probe()
150 if (flash) in do_spi_flash_probe()
154 flash = new; in do_spi_flash_probe()
188 if (spi_flash_read(flash, read_offset, flash->sector_size, cmp_buf)) in spi_flash_update_block()
198 if (spi_flash_erase(flash, offset, flash->sector_size)) in spi_flash_update_block()
206 if (spi_flash_write(flash, offset, flash->sector_size, ptr)) in spi_flash_update_block()
244 flash->sector_size - (offset % flash->sector_size)); in spi_flash_update()
302 !flash->flash_is_unlocked(flash, offset, len)) { in do_spi_flash_read_write()
364 !flash->flash_is_unlocked(flash, offset, len)) { in do_spi_flash_erase()
[all …]
/u-boot/common/spl/
A Dspl_spi.c28 struct spi_flash *flash, in spi_load_image_os() argument
44 spi_flash_read(flash, CFG_SYS_SPI_KERNEL_OFFS, in spi_load_image_os()
48 spi_flash_read(flash, CFG_SYS_SPI_ARGS_OFFS, in spi_load_image_os()
59 struct spi_flash *flash = load->dev; in spl_spi_fit_read() local
94 struct spi_flash *flash; in spl_spi_load_image() local
104 flash = spi_flash_probe(sf_bus, sf_cs, in spl_spi_load_image()
107 if (!flash) { in spl_spi_load_image()
136 err = spi_flash_read(flash, payload_offs, in spl_spi_load_image()
148 load.dev = flash; in spl_spi_load_image()
159 load.dev = flash; in spl_spi_load_image()
[all …]
/u-boot/doc/board/atmel/
A Dat91ek.rst24 - Nand flash
28 make at91sam9260ek_nandflash_config - use nand flash
48 - Nand flash
70 - Nand flash
71 - Nor flash (not populate by default)
77 make at91sam9263ek_norflash_config - use nor flash
95 - Nand flash
115 - Nand flash.
133 - Nand flash
156 - Nand flash
[all …]
/u-boot/drivers/mtd/
A DKconfig21 bool "Enable parallel NOR flash support"
23 Enable support for parallel NOR flash.
52 prompt "Data-width of the flash device"
109 bool "Poll status on AMD flash chips"
113 bool "Enable buffered writes to flash"
116 Use buffered writes to flash.
123 bool "Non-standard s29ws-n MirrorBit flash"
138 bool "Use hardware flash protection"
149 common flash structure for storing flash geometry.
164 of the flash and print the value to console.
[all …]
/u-boot/doc/SPI/
A Dstatus.txt8 - sf_probe.c: SPI flash probing code.
9 - sf_ops.c: SPI flash operations code.
10 - sf.c: SPI flash interface, which interacts controller driver.
13 - Common probe support for all supported flash vendors except, ramtron.
17 - Dual flash connection topology support(accessing two spi flash memories with single cs)
18 - Banking support on dual flash connection topology.
/u-boot/doc/usage/cmd/
A Dcp.rst21 address to the *target* address. If the *target* address points to NOR flash,
22 the flash is programmed.
48 The example device has a NOR flash where the lower part of the flash is
49 protected. We first copy to RAM, then to unprotected flash. Last we try to
50 write to protectd flash.
57 - device: flash@0
60 - path: /flash@0
61 - type: NOR flash
76 (cp.q) depends on CONFIG_MEM_SUPPORT_64BIT_DATA=y. Copying to flash depends on
/u-boot/arch/arm/dts/
A Dfsl-lx2162a-qds.dts47 compatible = "spi-flash";
56 compatible = "spi-flash";
65 compatible = "spi-flash";
80 compatible = "spi-flash";
89 compatible = "spi-flash";
98 compatible = "spi-flash";
113 compatible = "spi-flash";
122 compatible = "spi-flash";
131 compatible = "spi-flash";
/u-boot/doc/device-tree-bindings/mtd/
A Dmtd-physmap.txt1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
7 used, if known, followed by either "cfi-flash", "jedec-flash",
20 mapping of the flash.
24 By defining "no-unaligned-direct-access", the flash will not be
28 device name physmap-flash.
36 - vendor-id : Contains the flash chip's vendor id (1 byte).
37 - device-id : Contains the flash chip's device id (1 byte).
49 flash@ff000000 {
50 compatible = "amd,am29lv128ml", "cfi-flash";
69 flash@f0000000,0 {
[all …]
/u-boot/cmd/mvebu/
A DKconfig14 bubt - Burn a u-boot image to flash
29 bool "NAND flash boot"
32 Enable boot from NAND flash.
33 Allow usage of NAND flash as a target for "bubt" command
38 bool "SPI flash boot"
41 Enable boot from SPI flash.
42 Allow usage of SPI flash as a target for "bubt" command
47 bool "eMMC flash boot"
56 bool "SATA flash boot"
69 default "flash-image.bin"
/u-boot/doc/imx/habv4/guides/
A Dmx8m_spl_secure_boot.txt19 support, fitImage support and custom i.MX8M specific flash.bin container.
24 form the final flash.bin container. The HABv4 can be used to authenticate
50 initialization firmware blobs part of flash.bin container layout.
106 The diagram below illustrate a combined flash.bin container layout:
148 Blocks = 0x7e0fc0 0x0 0x306f0 "flash.bin"
153 - 0x0 -- Start address of signed data, in "flash.bin"
154 - 0x306f0 -- Length of signed data, in "flash.bin"
155 - Filename -- "flash.bin"
166 the fitImage can be calculated and inserted into the flash.bin in the
186 patch it into the correct aligned location of flash.bin as follows:
[all …]
/u-boot/drivers/net/pfe_eth/
A DKconfig13 int "Value of SPI flash bus for PFE firmware"
17 int "Value of SPI flash chip select for PFE firmware"
21 int "Value of SPI flash max frequency for PFE firmware"
25 hex "Value of SPI flash work mode for PFE firmware"
/u-boot/doc/
A DREADME.malta3 How to flash using a MIPS Navigator Probe:
6 be unable to flash your Malta using a Navigator Probe.
12 source /path/to/u-boot/board/imgtec/malta/flash-malta-boot.tcl
14 flash-boot /path/to/u-boot/u-boot.bin
/u-boot/doc/board/broadcom/
A Dnorthstar.rst17 The ROM in the Northstar SoC will typically look into NOR flash memory
19 possible to execute U-Boot as the first binary from the NOR flash but
25 When we use U-Boot with D-Link routers, the NOR flash has a boot loader
26 and web server that can re-flash the bigger NAND flash memory for object
28 a SEAMA binary and installed in the SoC using the flash tool resident in
29 the NOR flash. Details can be found in the OpenWrt project codebase.
/u-boot/doc/board/intel/
A Dcougarcanyon2.rst18 the board manual. The SPI-0 flash should have flash descriptor plus ME firmware
19 and SPI-1 flash is used to store U-Boot. For convenience, the complete 8MB SPI-0
20 flash image is included in the FSP package (named Rom00_8M_MB_PPT.bin). Program
21 this image to the SPI-0 flash according to the board manual just once and we are
22 all set. For programming U-Boot we just need to program SPI-1 flash. Since the
/u-boot/doc/device-tree-bindings/nvmxip/
A Dnvmxip_qspi.txt4 QSPI XIP flash device nodes
7 Each flash device should have its own node.
14 This allows to bind the flash device with the nvmxip_qspi driver
21 The start address and size of the flash device. The values give here are an
41 Example of multiple flash devices
/u-boot/doc/imx/habv4/csf_examples/mx8m/
A Dcsf.sh33 spl_csf_offset=$(xxd -s 24 -l 4 -e flash.bin | cut -d " " -f 2 | sed "s@^@0x@")
34 spl_bin_offset=$(xxd -s 4 -l 4 -e flash.bin | cut -d " " -f 2 | sed "s@^@0x@")
36 dd if=csf_spl.bin of=flash.bin bs=1 seek=${spl_dd_offset} conv=notrunc
54 dd if=ivt.bin of=flash.bin bs=1 seek=${ivt_block_offset} conv=notrunc
59 dd if=csf_fit.bin of=flash.bin bs=1 seek=${csf_block_offset} conv=notrunc
/u-boot/arch/xtensa/dts/
A Dxtfpga-flash-128m.dtsi3 flash: flash@00000000 { label
6 compatible = "cfi-flash";
A Dxtfpga-flash-16m.dtsi3 flash: flash@08000000 { label
6 compatible = "cfi-flash";

Completed in 47 milliseconds

12345678910>>...38