Home
last modified time | relevance | path

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

/drivers/mtd/parsers/
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 …]
/drivers/mtd/spi-nor/controllers/
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()