Lines Matching full:nvram
11 #include <linux/nvram.h>
24 #include <asm/nvram.h>
41 /* On Core99, nvram is either a sharp, a micron or an AMD flash */
52 /* CHRP NVRAM header */
287 DBG("nvram: Sharp/Micron Erasing bank %d...\n", bank); in sm_erase_bank()
294 printk(KERN_ERR "nvram: Sharp/Micron flash erase timeout !\n"); in sm_erase_bank()
305 printk(KERN_ERR "nvram: Sharp/Micron flash erase failed !\n"); in sm_erase_bank()
318 DBG("nvram: Sharp/Micron Writing bank %d...\n", bank); in sm_write_bank()
327 printk(KERN_ERR "nvram: Sharp/Micron flash write timeout !\n"); in sm_write_bank()
339 printk(KERN_ERR "nvram: Sharp/Micron flash write failed !\n"); in sm_write_bank()
352 DBG("nvram: AMD Erasing bank %d...\n", bank); in amd_erase_bank()
374 printk(KERN_ERR "nvram: AMD flash erase timeout !\n"); in amd_erase_bank()
385 printk(KERN_ERR "nvram: AMD flash erase failed !\n"); in amd_erase_bank()
398 DBG("nvram: AMD Writing bank %d...\n", bank); in amd_write_bank()
416 printk(KERN_ERR "nvram: AMD flash write timeout !\n"); in amd_write_bank()
430 printk(KERN_ERR "nvram: AMD flash write failed !\n"); in amd_write_bank()
466 DBG("nvram: OF partition at 0x%x\n", nvram_partitions[pmac_nvram_OF]); in lookup_partitions()
467 DBG("nvram: XP partition at 0x%x\n", nvram_partitions[pmac_nvram_XPRAM]); in lookup_partitions()
468 DBG("nvram: NR partition at 0x%x\n", nvram_partitions[pmac_nvram_NR]); in lookup_partitions()
484 DBG("Updating nvram...\n"); in core99_nvram_sync()
494 printk("nvram: Error erasing bank %d\n", core99_bank); in core99_nvram_sync()
499 printk("nvram: Error writing bank %d\n", core99_bank); in core99_nvram_sync()
514 printk(KERN_ERR "nvram: no address\n"); in core99_nvram_setup()
524 DBG("nvram: Checking bank 0...\n"); in core99_nvram_setup()
530 DBG("nvram: gen0=%d, gen1=%d\n", gen_bank0, gen_bank1); in core99_nvram_setup()
531 DBG("nvram: Active bank is: %d\n", core99_bank); in core99_nvram_setup()
569 dp = of_find_node_by_name(NULL, "nvram"); in pmac_nvram_init()
571 printk(KERN_ERR "Can't find NVRAM device\n"); in pmac_nvram_init()
585 is_core_99 = of_device_is_compatible(dp, "nvram,flash"); in pmac_nvram_init()
618 printk(KERN_ERR "Incompatible type of NVRAM\n"); in pmac_nvram_init()