Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_nvram.c59 static int core99_bank = 0; variable
140 u8* base = (u8 *)nvram_data + core99_bank*NVRAM_SIZE; in core99_erase_bank()
164 u8* base = (u8 *)nvram_data + core99_bank*NVRAM_SIZE; in core99_write_bank()
260 core99_bank = (gen_bank0 < gen_bank1) ? 1 : 0; in pmac_nvram_init()
263 printk("nvram: Active bank is: %d\n", core99_bank); in pmac_nvram_init()
266 nvram_image[i] = nvram_data[i + core99_bank*NVRAM_SIZE]; in pmac_nvram_init()
293 if (!memcmp(nvram_image, (u8*)nvram_data + core99_bank*NVRAM_SIZE, in pmac_nvram_update()
304 core99_bank = core99_bank ? 0 : 1; in pmac_nvram_update()
305 if (core99_erase_bank(core99_bank)) { in pmac_nvram_update()
306 printk("nvram: Error erasing bank %d\n", core99_bank); in pmac_nvram_update()
[all …]