Lines Matching refs:octeon_bootinfo
77 struct cvmx_bootinfo *octeon_bootinfo; variable
78 EXPORT_SYMBOL(octeon_bootinfo);
221 kexec_bootmem_init(octeon_bootinfo->dram_size*1024ULL*1024ULL, in octeon_generic_shutdown()
306 return octeon_bootinfo->board_type == CVMX_BOARD_TYPE_SIM; in octeon_is_simulation()
319 return octeon_bootinfo->config_flags & CVMX_BOOTINFO_CFG_FLAG_PCI_HOST; in octeon_is_pci_host()
356 if (octeon_bootinfo->led_display_base_addr) { in octeon_write_lcd()
358 ioremap_nocache(octeon_bootinfo->led_display_base_addr, in octeon_write_lcd()
475 switch (octeon_bootinfo->board_type) { in octeon_halt()
495 board_type = cvmx_board_type_to_string(octeon_bootinfo->board_type); in init_octeon_system_type()
673 octeon_bootinfo = in prom_init()
675 cvmx_bootmem_init(cvmx_phys_to_ptr(octeon_bootinfo->phy_mem_desc_addr)); in prom_init()
679 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; in prom_init()
680 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
682 if ((octeon_bootinfo->major_version > 1) || in prom_init()
683 (octeon_bootinfo->major_version == 1 && in prom_init()
684 octeon_bootinfo->minor_version >= 4)) in prom_init()
686 &octeon_bootinfo->ext_core_mask); in prom_init()
689 octeon_bootinfo->core_mask); in prom_init()
696 sysinfo->exception_base_addr = octeon_bootinfo->exception_base_addr; in prom_init()
697 sysinfo->cpu_clock_hz = octeon_bootinfo->eclock_hz; in prom_init()
698 sysinfo->dram_data_rate_hz = octeon_bootinfo->dclock_hz * 2; in prom_init()
699 sysinfo->board_type = octeon_bootinfo->board_type; in prom_init()
700 sysinfo->board_rev_major = octeon_bootinfo->board_rev_major; in prom_init()
701 sysinfo->board_rev_minor = octeon_bootinfo->board_rev_minor; in prom_init()
702 memcpy(sysinfo->mac_addr_base, octeon_bootinfo->mac_addr_base, in prom_init()
704 sysinfo->mac_addr_count = octeon_bootinfo->mac_addr_count; in prom_init()
706 octeon_bootinfo->board_serial_number, in prom_init()
709 octeon_bootinfo->compact_flash_common_base_addr; in prom_init()
711 octeon_bootinfo->compact_flash_attribute_base_addr; in prom_init()
712 sysinfo->led_display_base_addr = octeon_bootinfo->led_display_base_addr; in prom_init()
713 sysinfo->dfa_ref_clock_hz = octeon_bootinfo->dfa_ref_clock_hz; in prom_init()
714 sysinfo->bootloader_config_flags = octeon_bootinfo->config_flags; in prom_init()
961 octeon_bootinfo = in plat_get_fdt()
963 return phys_to_virt(octeon_bootinfo->fdt_addr); in plat_get_fdt()
1172 if (octeon_bootinfo->minor_version >= 3 && octeon_bootinfo->fdt_addr) { in device_tree_init()
1173 fdt = phys_to_virt(octeon_bootinfo->fdt_addr); in device_tree_init()