Home
last modified time | relevance | path

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

/drivers/mtd/
Dredboot.c16 uint32_t flash_base; // Address within FLASH of image member
139 swab32s(&buf[j].flash_base); in parse_redboot_partitions()
183 buf[i].flash_base -= fis_origin; in parse_redboot_partitions()
185 buf[i].flash_base &= master->size-1; in parse_redboot_partitions()
192 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()
200 if (fl->img->flash_base) { in parse_redboot_partitions()
206 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
230 if (fl->img->flash_base) { in parse_redboot_partitions()
232 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
239 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
[all …]
/drivers/mtd/maps/
Ddilnetpc.c135 static void dnpc_map_flash(unsigned long flash_base, unsigned long flash_size) in dnpc_map_flash() argument
137 unsigned long flash_end = flash_base + flash_size - 1; in dnpc_map_flash()
151 setpcc(PCC_MWSAR_1_Lo, (flash_base >> 12) & 0xff); in dnpc_map_flash()
152 setpcc(PCC_MWSAR_1_Hi, (flash_base >> 20) & 0x3f); in dnpc_map_flash()
157 setpcc(PCC_MWAOR_1_Lo, ((0 - flash_base) >> 12) & 0xff); in dnpc_map_flash()
158 setpcc(PCC_MWAOR_1_Hi, ((0 - flash_base)>> 20) & 0x3f); in dnpc_map_flash()