Lines Matching defs:nvram
3 * BCM947xx nvram variable access
59 pr_warn("nvram already initialized\n");
63 /* TODO: when nvram is on nand flash check for bad blocks first. */
88 pr_err("no nvram found\n");
95 pr_err("The nvram size according to the header seems to be bigger than the partition on flash\n");
99 pr_err("nvram on flash (%zu bytes) is bigger than the reserved space in memory, will just copy the first %i bytes\n",
142 mtd = get_mtd_device_nm("nvram");
151 pr_err("nvram on flash (%zu bytes) is bigger than the reserved space in memory, will just copy the first %i bytes\n",
220 char *nvram;
229 nvram = vmalloc(*nvram_size);
230 if (!nvram)
232 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size);
234 return nvram;