#include <linux/init.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/serial.h>
#include <linux/smp.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/tty.h>
#include <linux/time.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/of_fdt.h>
#include <linux/libfdt.h>
#include <asm/processor.h>
#include <asm/reboot.h>
#include <asm/smp-ops.h>
#include <asm/irq_cpu.h>
#include <asm/mipsregs.h>
#include <asm/bootinfo.h>
#include <asm/sections.h>
#include <asm/time.h>
#include <asm/octeon/octeon.h>
#include <asm/octeon/pci-octeon.h>
#include <asm/octeon/cvmx-mio-defs.h>
Go to the source code of this file.
Handle all the error condition interrupts that might occur. Return a string representing the system type
Returns
Definition at line 276 of file setup.c.
Check the hardware BIST results for a CPU
Definition at line 171 of file setup.c.
int octeon_get_boot_coremask |
( |
void |
| ) |
|
Get the coremask Linux was booted on.
Returns Core mask
Definition at line 163 of file setup.c.
Return the console uart passed by the bootloader
Returns uart (0 or 1)
Definition at line 146 of file setup.c.
Get the clock rate of Octeon
Returns Clock rate in HZ
Definition at line 100 of file setup.c.
u64 octeon_get_io_clock_rate |
( |
void |
| ) |
|
Return true if Octeon is in PCI Host mode. This means Linux can control the PCI bus.
Returns Non zero if Octeon in host mode.
Definition at line 86 of file setup.c.
Return non zero if we are currently running in the Octeon simulator
Returns
Definition at line 74 of file setup.c.
int octeon_prune_device_tree |
( |
void |
| ) |
|
Write to the LCD display connected to the bootbus. This display exists on most Cavium evaluation boards. If it doesn't exist, then this function doesn't do anything.
: String to write
Definition at line 124 of file setup.c.
Early entry point for arch setup
Definition at line 415 of file setup.c.