Home
last modified time | relevance | path

Searched full:flash (Results 1 – 25 of 3201) sorted by relevance

12345678910>>...129

/openbmc/u-boot/drivers/mtd/spi/
H A DKconfig1 menu "SPI Flash Support"
4 bool "Enable Driver Model for SPI flash"
7 Enable driver model for SPI flash. This SPI flash interface
9 implemented by the SPI flash uclass. There is one standard
10 SPI flash driver which knows how to probe most chips
14 during the transition parent. SPI and SPI flash must be
19 bool "Support sandbox SPI flash device"
25 device. Typically the contents of the emulated SPI flash device is
29 bool "Legacy SPI Flash Interface support"
33 Enable the legacy SPI flash support. This will include basic
[all …]
H A Dsf_probe.c3 * 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) in spi_flash_probe_slave() argument
27 struct spi_slave *spi = flash->spi; in spi_flash_probe_slave()
43 ret = spi_nor_scan(flash); in spi_flash_probe_slave()
48 ret = spi_flash_mtd_register(flash); in spi_flash_probe_slave()
61 struct spi_flash *flash; in spi_flash_probe() local
68 flash = calloc(1, sizeof(*flash)); in spi_flash_probe()
69 if (!flash) { in spi_flash_probe()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
Dext-ctrls-flash.rst
/openbmc/linux/drivers/mtd/devices/
Dmchp48l640.c
Dsst25l.c
/openbmc/linux/Documentation/ABI/testing/
Dsysfs-class-led-flash
/openbmc/u-boot/board/imgtec/malta/
H A Dflash-malta-boot.tcl5 # 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 …]
/openbmc/u-boot/drivers/mtd/
H A DKconfig11 flash, RAM and similar chips, often used for solid state file
15 bool "Enable parallel NOR flash support"
17 Enable support for parallel NOR flash.
26 bool "Enable CFI Flash driver"
28 The Common Flash Interface specification was developed by Intel,
29 AMD and other flash manufactures. It provides a universal method
30 for probing the capabilities of flash devices. If you wish to
36 bool "Enable Driver Model for CFI Flash driver"
39 The Common Flash Interface specification was developed by Intel,
40 AMD and other flash manufactures. It provides a universal method
[all …]
/openbmc/skeleton/flashbios/
H A Dflash_bios_obj.c10 static const gchar* dbus_object_path = "/org/openbmc/control/flash";
11 static const gchar* dbus_name = "org.openbmc.control.Flash";
27 update(Flash* flash, const char* obj_path) in update() argument
34 const gchar* name = flash_get_flasher_name(flash); in update()
35 const gchar* inst = flash_get_flasher_instance(flash); in update()
36 const gchar* filename = flash_get_filename(flash); in update()
44 on_init(Flash *f, in on_init()
50 //tune flash in on_init()
77 printf("ERROR: BIOS Flash is already locked: %s\n",name); in on_lock()
81 printf("Locking BIOS Flash: %s\n",name); in on_lock()
[all …]
/openbmc/phosphor-ipmi-flash/
H A Dipmi_flash.md15 - `open(/flash/active/image)` returns false -- file cannot be opened.
16 - `open(/flash/active/hash)` returns false -- file cannot be opened.
42 - `open(/flash/image)`
43 - `open(/flash/tarball)`
44 - `open(/flash/hash)`
45 - `open(/flash/verify)`
46 - `open(/flash/update)`
52 - `open(/flash/*)` returns false because `fileOpen() == true`
54 - `close(/flash/*)` triggers `state -> verificationPending`
56 - `commit(/flash/*)` returns false
[all …]
/openbmc/u-boot/include/
H A Dspi_flash.h3 * Common SPI flash Interface
40 * SPI flash chips can lock a region of the flash defined by a
44 * @dev: SPI flash device
59 * spi_flash_read_dm() - Read data from SPI flash
61 * @dev: SPI flash device
70 * spi_flash_write_dm() - Write data to SPI flash
72 * @dev: SPI flash device
82 * spi_flash_erase_dm() - Erase blocks of the SPI flash
84 * Note that @len must be a muiltiple of the flash sector size.
86 * @dev: SPI flash device
[all …]
/openbmc/linux/Documentation/leds/
Dleds-class-flash.rst
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c35 u32 dma_flash_addr; /* 0x84 DMA Flash Side Address */
118 * and the end address of the AHB window of a SPI flash device.
168 * flash related info
183 struct spi_flash *spi; /* Associated SPI Flash device */
264 void __iomem *ahb_base; /* AHB Window for all flash devices */
278 struct aspeed_spi_flash *flash,
282 static u32 aspeed_spi_flash_to_addr(struct aspeed_spi_flash *flash,
357 * Use some address/size under the first flash device CE0
360 struct aspeed_spi_flash *flash, in aspeed_spi_fmc_checksum() argument
363 u32 flash_addr = (u32)flash->ahb_base + 0x10000; in aspeed_spi_fmc_checksum()
[all …]
H A DKconfig32 access the SPI NOR flash on platforms embedding this Altera
41 used to access the SPI NOR flash on boards using the Aspeed
45 bool "Aspeed SPI flash write protection"
55 used to access the SPI flash on AE3XX and AE250 platforms embedding
63 to access SPI NOR flash and other SPI peripherals. This driver
73 the SPI Flash, such as AT25DF321.
80 access the SPI NOR flash on platforms embedding this Broadcom
88 access the SPI NOR flash on platforms embedding these Broadcom
95 be used to access the SPI flash on platforms embedding this
102 used to access the SPI NOR flash on platforms embedding this
[all …]
/openbmc/linux/include/media/
Dv4l2-flash-led-class.h
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dflash.hpp13 * @class Flash
14 * @brief Contains flash management functions.
16 * with the flash.
18 class Flash class
21 Flash() = default;
22 Flash(const Flash&) = delete;
23 Flash& operator=(const Flash&) = delete;
24 Flash(Flash&&) = default;
25 Flash& operator=(Flash&&) = delete;
28 virtual ~Flash() = default;
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_json_unittest.cpp24 "blob" : "/flash/image", in TEST()
32 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
36 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
52 "blob" : "/flash/image", in TEST()
60 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
64 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
81 "blob" : "/flash/image", in TEST()
89 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
93 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
110 "blob" : "/flash/image", in TEST()
[all …]
/openbmc/linux/drivers/mtd/chips/
DKconfig
/openbmc/openbmc/meta-phosphor/classes/
H A Dphosphor-software-manager-ubi-fs.bbclass16 obmc-flash-bmc-ubirw.service \
17 obmc-flash-bmc-ubiro@.service \
18 obmc-flash-bmc-ubirw-remove.service \
19 obmc-flash-bmc-ubiro-remove@.service \
20 obmc-flash-bmc-ubiremount.service \
21 obmc-flash-bmc-updateubootvars@.service \
22 obmc-flash-bmc-cleanup.service \
23 obmc-flash-bmc-mirroruboot.service \
30 DISTROOVERRIDES .= ":flash-${FLASH_SIZE}"
32 BMC_RW_SIZE:flash-131072 = "0x2000000"
[all …]
/openbmc/u-boot/cmd/
H A Dsf.c3 * Command for accessing SPI flash.
21 static struct spi_flash *flash; variable
30 * If it isn't in the flash, the function will fail (return -1).
55 if (round_up_len && flash->sector_size > 0) in sf_parse_len_arg()
56 *len = ROUND(len_arg, flash->sector_size); in sf_parse_len_arg()
128 flash = NULL; in do_spi_flash_probe()
131 printf("Failed to initialize SPI flash at %u:%u (error %d)\n", in do_spi_flash_probe()
136 flash = dev_get_uclass_priv(new); in do_spi_flash_probe()
138 if (flash) in do_spi_flash_probe()
139 spi_flash_free(flash); in do_spi_flash_probe()
[all …]
/openbmc/phosphor-mboxd/Documentation/
H A Dmbox_protocol.md20 access to a flash device(s) with the specifics of how the host is required to
35 for the host to control access to the flash device(s).
38 (the iLPC-to-AHB bridge) to directly manipulate the BMCs own flash controller.
42 1. Every piece of the host software stack that needs flash access (HostBoot,
43 OCC, OPAL, ...) has to have a complete driver for the flash controller,
44 update it on each BMC generation, have all the quirks for all the flash
58 system in some kind of data center, not only the host flash needs to be
60 flash too as nothing can be trusted. So we want to disable it.
65 the flash controller. All flash erase and write operations are performed by the
66 BMC and the BMC only. (We can allow direct reads from flash under some
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.yaml
/openbmc/u-boot/board/freescale/mpc8349itx/
H A DREADME11 A) One 8MB on-board flash EEPROM chip, instead of two.
13 C) No Compact Flash slot
29 E BOOT1 ON (0) Flash EEPROM boot device
32 H F_WP OFF (1) Flash EEPROM write protection
35 of the flash chips. If J22.E is ON (i.e. jumpered), then flash chip
36 U4 is located at address FE000000 and flash chip U7 is at FE800000.
52 0xF000_0000 - 0xF000_FFFF Compact Flash (ITX only)
55 0xFE00_0000 - 0xFE7F_FFFF First 8MB bank of Flash memory
56 0xFE80_0000 - 0xFEFF_FFFF Second 8MB bank of Flash memory (ITX only)
58 3.2 Flash EEPROM layout.
[all …]
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/
H A Dkudo-cpld-update.bb12 DEPENDS += "phosphor-ipmi-flash"
16 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bmccpld.json"
17 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-mbcpld.json"
20 file://phosphor-ipmi-flash-bmccpld-update.service \
21 file://phosphor-ipmi-flash-mbcpld-update.service \
28 phosphor-ipmi-flash-bmccpld-update.service \
29 phosphor-ipmi-flash-mbcpld-update.service \
33 install -d ${D}${datadir}/phosphor-ipmi-flash
34 install -m 0644 ${UNPACKDIR}/config-bmccpld.json ${D}${datadir}/phosphor-ipmi-flash
35 install -m 0644 ${UNPACKDIR}/config-mbcpld.json ${D}${datadir}/phosphor-ipmi-flash
[all …]
H A Dkudo-scp-update.bb12 DEPENDS += "phosphor-ipmi-flash"
16 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-scp.json"
17 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-scpback.json"
20 file://phosphor-ipmi-flash-scp-update.service \
21 file://phosphor-ipmi-flash-scpback-update.service \
28 phosphor-ipmi-flash-scp-update.service \
29 phosphor-ipmi-flash-scpback-update.service \
33 install -d ${D}${datadir}/phosphor-ipmi-flash
34 install -m 0644 ${UNPACKDIR}/config-scp.json ${D}${datadir}/phosphor-ipmi-flash
35 install -m 0644 ${UNPACKDIR}/config-scpback.json ${D}${datadir}/phosphor-ipmi-flash
[all …]

12345678910>>...129