Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_nvram.c67 static char* nvram_image;
69 static char nvram_image[NVRAM_SIZE] __pmacdata; variable
248 nvram_image = kmalloc(NVRAM_SIZE, GFP_KERNEL); in pmac_nvram_init()
249 if (!nvram_image) { in pmac_nvram_init()
266 nvram_image[i] = nvram_data[i + core99_bank*NVRAM_SIZE]; in pmac_nvram_init()
291 if (!is_core_99 || !nvram_data || !nvram_image) in pmac_nvram_update()
293 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in pmac_nvram_update()
299 hdr99 = (struct core99_header*)nvram_image; in pmac_nvram_update()
303 hdr99->adler = core99_calc_adler(nvram_image); in pmac_nvram_update()
309 if (core99_write_bank(core99_bank, nvram_image)) in pmac_nvram_update()
[all …]