Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/parsers/
Dredboot.c21 uint32_t flash_base; // Address within FLASH of image member
165 swab32s(&buf[j].flash_base); in parse_redboot_partitions()
209 buf[i].flash_base -= data->origin; in parse_redboot_partitions()
211 buf[i].flash_base &= master->size-1; in parse_redboot_partitions()
217 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
225 if (fl->img->flash_base) { in parse_redboot_partitions()
231 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
255 if (fl->img->flash_base) { in parse_redboot_partitions()
257 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
264 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/Linux-v5.10/arch/mips/ath25/
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()
/Linux-v5.10/drivers/mtd/spi-nor/controllers/
Dnxp-spifi.c58 void __iomem *flash_base; member
183 memcpy_fromio(buf, spifi->flash_base + from, len); in nxp_spifi_read()
397 spifi->flash_base = devm_ioremap_resource(&pdev->dev, res); in nxp_spifi_probe()
398 if (IS_ERR(spifi->flash_base)) in nxp_spifi_probe()
399 return PTR_ERR(spifi->flash_base); in nxp_spifi_probe()