Home
last modified time | relevance | path

Searched refs:flash_base (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/mtd/parsers/
H A Dredboot.c21 u32 flash_base; // Address within FLASH of image member
170 swab32s(&buf[j].flash_base); in parse_redboot_partitions()
214 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
216 buf[i].flash_base &= master->size - 1; in parse_redboot_partitions()
222 while (*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
230 if (fl->img->flash_base) { in parse_redboot_partitions()
236 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
259 if (fl->img->flash_base) { in parse_redboot_partitions()
261 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
268 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/openbmc/linux/arch/mips/ath25/
H A Dboard.c104 const void __iomem *flash_base, *flash_limit; in ath25_find_config() local
114 flash_base = ioremap(base, size); in ath25_find_config()
115 flash_limit = flash_base + size; in ath25_find_config()
179 iounmap(flash_base); in ath25_find_config()
184 iounmap(flash_base); in ath25_find_config()
/openbmc/qemu/tests/qtest/
H A Daspeed_smc-test.c48 data->flash_base = 0x20000000; in test_palmetto_bmc()
95 data->flash_base = 0x20000000; in test_ast2500_evb()
138 data->flash_base = 0x20000000; in test_ast2600_evb()
181 data->flash_base = 0x80000000; in test_ast1030_evb()
H A Daspeed-smc-utils.h75 uint64_t flash_base; member
H A Dast2700-smc-test.c32 data->flash_base = 0x100000000; in test_ast2700_evb()
H A Daspeed-smc-utils.c55 qtest_writeb(data->s, data->flash_base + offset, value); in flash_writeb()
61 qtest_writel(data->s, data->flash_base + offset, value); in flash_writel()
67 return qtest_readb(data->s, data->flash_base + offset); in flash_readb()
73 return qtest_readl(data->s, data->flash_base + offset); in flash_readl()
/openbmc/linux/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c57 void __iomem *flash_base; member
182 memcpy_fromio(buf, spifi->flash_base + from, len); in nxp_spifi_read()
393 spifi->flash_base = devm_platform_ioremap_resource_byname(pdev, "flash"); in nxp_spifi_probe()
394 if (IS_ERR(spifi->flash_base)) in nxp_spifi_probe()
395 return PTR_ERR(spifi->flash_base); in nxp_spifi_probe()
/openbmc/u-boot/drivers/mtd/
H A Drenesas_rpc_hf.c350 phys_addr_t flash_base; in rpc_hf_probe() local
376 flash_base = fdt_translate_address(blob, node, cell + addrc + sizec); in rpc_hf_probe()
379 flash_info[0].base = flash_base; in rpc_hf_probe()
381 gd->bd->bi_flashstart = flash_base; in rpc_hf_probe()
/openbmc/u-boot/common/
H A Dboard_r.c353 const uchar *flash_base = (const uchar *)CONFIG_SYS_FLASH_BASE; in initr_flash() local
356 flash_base, in initr_flash()