Lines Matching refs:nvram_partitions
75 static int nvram_partitions[3]; variable
443 nvram_partitions[pmac_nvram_OF] = -1; in lookup_partitions()
444 nvram_partitions[pmac_nvram_XPRAM] = -1; in lookup_partitions()
445 nvram_partitions[pmac_nvram_NR] = -1; in lookup_partitions()
454 nvram_partitions[pmac_nvram_OF] = offset + 0x10; in lookup_partitions()
456 nvram_partitions[pmac_nvram_XPRAM] = offset + 0x10; in lookup_partitions()
457 nvram_partitions[pmac_nvram_NR] = offset + 0x110; in lookup_partitions()
462 nvram_partitions[pmac_nvram_OF] = 0x1800; in lookup_partitions()
463 nvram_partitions[pmac_nvram_XPRAM] = 0x1300; in lookup_partitions()
464 nvram_partitions[pmac_nvram_NR] = 0x1400; in lookup_partitions()
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()
631 return nvram_partitions[partition]; in pmac_get_partition()