/external/u-boot/board/imgtec/malta/ |
flash-malta-boot.tcl | 5 # Programs a MIPS Malta boot flash with a flat binary image. 7 proc flash-boot { binfile } { 8 puts "flash monitor binary $binfile" 14 flash device sharp_16x32_be; 17 flash device sharp_16x32; 20 flash clear all; 21 flash set 0xBE000000..0xBE0FFFFF 22 flash erase sector 0xbe000000; 23 flash erase sector 0xbe020000; 24 flash erase sector 0xbe040000 [all...] |
/external/u-boot/drivers/mtd/spi/ |
sf_probe.c | 3 * SPI flash probing 20 * spi_flash_probe_slave() - Probe for a SPI flash device on a bus 22 * @flashp: Pointer to place to put flash info, which may be NULL if the 25 static int spi_flash_probe_slave(struct spi_flash *flash) 27 struct spi_slave *spi = flash->spi; 43 ret = spi_flash_scan(flash); 48 ret = spi_flash_mtd_register(flash); 61 struct spi_flash *flash; local 68 flash = calloc(1, sizeof(*flash)); 98 struct spi_flash *flash = dev_get_uclass_priv(dev); local 106 struct spi_flash *flash = dev_get_uclass_priv(dev); local 122 struct spi_flash *flash = dev_get_uclass_priv(dev); local 131 struct spi_flash *flash; local [all...] |
spi_flash.c | 3 * SPI Flash Core 31 static int read_sr(struct spi_flash *flash, u8 *rs) 37 ret = spi_flash_read_common(flash, &cmd, 1, rs, 1); 46 static int read_fsr(struct spi_flash *flash, u8 *fsr) 51 ret = spi_flash_read_common(flash, &cmd, 1, fsr, 1); 60 static int write_sr(struct spi_flash *flash, u8 ws) 66 ret = spi_flash_write_common(flash, &cmd, 1, &ws, 1); 76 static int read_cr(struct spi_flash *flash, u8 *rc) 82 ret = spi_flash_read_common(flash, &cmd, 1, rc, 1); 91 static int write_cr(struct spi_flash *flash, u8 wc [all...] |
fsl_espi_spl.c | 16 struct spi_flash *flash; local 18 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, 20 if (flash == NULL) { 25 spi_flash_read(flash, offs, size, vdst); 40 struct spi_flash *flash; local 42 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, 44 if (flash == NULL) { 54 * Load U-Boot image from SPI flash into RAM 56 buf = malloc(flash->page_size); 61 memset(buf, 0, flash->page_size) [all...] |
sf_mtd.c | 17 struct spi_flash *flash = mtd->priv; local 22 err = spi_flash_erase(flash, instr->addr, instr->len); 38 struct spi_flash *flash = mtd->priv; local 41 err = spi_flash_read(flash, from, len, buf); 51 struct spi_flash *flash = mtd->priv; local 54 err = spi_flash_write(flash, to, len, buf); 74 int spi_flash_mtd_register(struct spi_flash *flash) 83 sf_mtd_info.writebufsize = flash->page_size; 90 sf_mtd_info.size = flash->size; 91 sf_mtd_info.priv = flash; [all...] |
sf_internal.h | 3 * SPI flash internal definitions 15 /* Dual SPI flash memories - see SPI_COMM_DUAL_... */ 82 /* Flash timeout values */ 105 int sst_write_wp(struct spi_flash *flash, u32 offset, size_t len, 107 int sst_write_bp(struct spi_flash *flash, u32 offset, size_t len, 156 * for flash array reads, etc. 163 * data. Used for programming the flash array, etc. 169 /* Flash erase(sectors) operation, support all possible erase commands */ 170 int spi_flash_cmd_erase_ops(struct spi_flash *flash, u32 offset, size_t len); 172 /* Lock stmicro spi flash region * [all...] |
/device/google/contexthub/firmware/os/platform/stm32/misc/ |
m3debug.script | 17 set flash-start 08000000 18 set flash-size 00080000 19 set flash-block 00000400 20 set flash-buffer 20000200 22 function flash-setup 41 function flash-erase 45 function flash-write 47 wr r1 $flash-buffer
|
/external/u-boot/board/cobra5272/ |
Makefile | 6 obj-y = cobra5272.o flash.o
|
/external/u-boot/board/freescale/m5253demo/ |
Makefile | 6 obj-y = m5253demo.o flash.o
|
/external/u-boot/post/drivers/ |
Makefile | 6 obj-y += flash.o i2c.o memory.o rtc.o
|
/device/linaro/hikey/installer/hikey960/ |
flash-all.sh | 18 fastboot flash xloader "${INSTALLER_DIR}"/hisi-sec_xloader.img 19 fastboot flash ptable "${INSTALLER_DIR}"/hisi-ptable.img 20 fastboot flash fastboot "${INSTALLER_DIR}"/hisi-fastboot.img 22 fastboot flash nvme "${INSTALLER_DIR}"/hisi-nvme.img 23 fastboot flash fw_lpm3 "${INSTALLER_DIR}"/hisi-lpm3.img 24 fastboot flash trustfirmware "${INSTALLER_DIR}"/hisi-bl31.bin 25 fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img 26 fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img 27 fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img 28 fastboot flash vendor "${ANDROID_PRODUCT_OUT}"/vendor.im [all...] |
uefi-flash-all.sh | 30 fastboot flash ptable "${INSTALLER_DIR}"/prm_ptable.img 31 fastboot flash xloader "${INSTALLER_DIR}"/hisi-sec_xloader.img 34 fastboot flash fastboot "${INSTALLER_DIR}"/l-loader.bin 35 fastboot flash fip "${INSTALLER_DIR}"/fip.bin 36 fastboot flash nvme "${INSTALLER_DIR}"/hisi-nvme.img 37 fastboot flash fw_lpm3 "${INSTALLER_DIR}"/hisi-lpm3.img 38 fastboot flash trustfirmware "${INSTALLER_DIR}"/hisi-bl31.bin 41 fastboot flash ptable "${INSTALLER_DIR}"/prm_ptable.img 42 fastboot flash xloader "${INSTALLER_DIR}"/hisi-sec_xloader.img 43 fastboot flash fastboot "${INSTALLER_DIR}"/l-loader.bi [all...] |
/external/u-boot/board/pb1x00/ |
Makefile | 6 obj-y = pb1x00.o flash.o
|
/external/u-boot/include/ |
spi_flash.h | 3 * Common SPI flash Interface 31 * struct spi_flash - SPI flash structure 34 * @dev: SPI flash device 35 * @name: Name of SPI flash 36 * @dual_flash: Indicates dual flash memories - dual stacked, parallel 37 * @shift: Flash shift useful in dual parallel 38 * @flags: Indication of spi flash flags 39 * @size: Total flash size 45 * @bank_curr: Current flash bank 50 * @memory_map: Address of read-only SPI flash acces [all...] |
/external/u-boot/common/spl/ |
spl_spi.c | 25 struct spi_flash *flash, 31 spi_flash_read(flash, CONFIG_SYS_SPI_KERNEL_OFFS, 0x40, 41 spi_flash_read(flash, CONFIG_SYS_SPI_KERNEL_OFFS, 45 spi_flash_read(flash, CONFIG_SYS_SPI_ARGS_OFFS, 56 struct spi_flash *flash = load->dev; local 59 ret = spi_flash_read(flash, sector, count, buf); 75 struct spi_flash *flash; local 79 * Load U-Boot image from SPI flash into RAM 82 flash = spi_flash_probe(CONFIG_SF_DEFAULT_BUS, 86 if (!flash) { [all...] |
/external/u-boot/cmd/ |
sf.c | 3 * Command for accessing SPI flash. 21 static struct spi_flash *flash; variable in typeref:struct:spi_flash 30 * If it isn't in the flash, the function will fail (return -1). 55 if (round_up_len && flash->sector_size > 0) 56 *len = ROUND(len_arg, flash->sector_size); 128 flash = NULL; 131 printf("Failed to initialize SPI flash at %u:%u (error %d)\n", 136 flash = dev_get_uclass_priv(new); 138 if (flash) 139 spi_flash_free(flash); [all...] |
/device/common/ |
generate-factory-images-common.sh | 86 # Write flash-all.sh 87 cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 111 cat >> tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 117 cat >> tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 127 cat >> tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 128 fastboot flash xloader xloader-$DEVICE-$XLOADER.img 131 cat >> tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 132 fastboot flash bootloader bootloader-$DEVICE-$BOOTLOADER.img 136 cat >> tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 137 fastboot flash bootloader2 bootloader-$DEVICE-$BOOTLOADER.im [all...] |
/device/linaro/hikey/installer/hikey/ |
flash-all.sh | 75 fastboot flash ptable "${INSTALLER_DIR}"/"${PTABLE}" 76 fastboot flash fastboot "${FIRMWARE_DIR}"/fip.bin 77 fastboot flash nvme "${INSTALLER_DIR}"/nvme.img 78 fastboot flash boot "${OUT_IMGDIR}"/boot.img 79 fastboot flash system "${OUT_IMGDIR}"/system.img 80 fastboot flash vendor "${OUT_IMGDIR}"/vendor.img 81 fastboot flash userdata "${OUT_IMGDIR}"/userdata.img
|
/device/google/contexthub/firmware/os/platform/stm32/ |
bl.c | 143 * This code needs to run out of ram and not flash since accessing flash 180 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; local 196 flash->CR = (flash->CR & ~(FLASH_CR_SNB_MASK)) | 198 func(&flash->CR, flash->CR | FLASH_CR_STRT, &flash->SR); 199 flash->CR &= ~(FLASH_CR_SNB_MASK | FLASH_CR_SER); 207 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE local 285 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; local 312 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE; local [all...] |
/device/google/contexthub/firmware/os/platform/stm32/lkr/ |
app.lkr | 19 - ".flash" will contain all parts of the app that go into actual flash 27 - ".ram" will contain all data that uses ram (and is not part of the flash image) 38 Our format allows apps that are up to 256MB of flash and 256MB of ram in size. 43 flash : ORIGIN = 0x10000000, LENGTH = 256K /* we write this to flash */ 50 .flash : { 79 } > flash = 0xff 108 } > ram AT > flash 118 } > flash = 0xf [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
ANTLRFileStream.as | 2 import flash.filesystem.File; 3 import flash.filesystem.FileMode; 4 import flash.filesystem.FileStream; 5 import flash.system.System;
|
/external/u-boot/board/Arcturus/ucp1020/ |
cmd_arc.c | 39 static struct spi_flash *flash; variable in typeref:struct:spi_flash 75 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, 82 if (spi_flash_write(flash, FIRM_ADDR1, sizeof(smac), smac)) { 86 if (spi_flash_write(flash, FIRM_ADDR2, sizeof(smac), smac)) { 91 if (spi_flash_write(flash, FIRM_ADDR3, sizeof(smac), smac)) { 96 if (spi_flash_write(flash, FIRM_ADDR4, sizeof(smac), smac)) { 114 flash = spi_flash_probe(CONFIG_ENV_SPI_BUS, CONFIG_ENV_SPI_CS, 117 if (spi_flash_read(flash, FIRM_ADDR1, sizeof(smac), smac)) { 119 if (spi_flash_read(flash, FIRM_ADDR2, sizeof(smac), smac)) { 121 if (spi_flash_read(flash, FIRM_ADDR3, sizeof(smac) [all...] |
/device/linaro/hikey/factory-images/ |
generate-factory-images-hikey960.sh | 55 # Write flash-all.sh 56 cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF 75 fastboot flash xloader hisi-sec_xloader.img 76 fastboot flash ptable hisi-ptable.img 77 fastboot flash fastboot hisi-fastboot.img 79 fastboot flash nvme hisi-nvme.img 80 fastboot flash fw_lpm3 hisi-lpm3.img 81 fastboot flash trustfirmware hisi-bl31.bin 82 fastboot flash dts dt.img 85 # XXX so flash those manually. Remove this later [all...] |
/development/gsi/gsi_util/gsi_util/commands/ |
flash_gsi.py | 37 fastboot_utils.flash('system', args.image) 47 fastboot_utils.flash('vbmeta', vbmeta_image, allow_error=True) 56 'flash_gsi', help='flash a GSI image', 57 description=('Flash a GSI image - ' 62 help='the GSI image to flash', type=str)
|
/external/toolchain-utils/binary_search_tool/android/ |
test_setup.sh | 8 # bootloader mode and fastboot is used to flash the new image. The device is 22 echo "Please manually flash the built image to your device." 47 echo "fastboot flash may run." 56 flash() function 83 echo "fastboot flash has failed! From here you can:" 84 echo "1. Debug and/or flash manually" 121 flash
|