Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
prom.c File Reference
#include <linux/kernel.h>
#include <asm/cacheflush.h>
#include <asm/traps.h>
#include <asm/io.h>
#include <lantiq_soc.h>
#include "../prom.h"

Go to the source code of this file.

Macros

#define SOC_FALCON   "Falcon"
 
#define SOC_FALCON_D   "Falcon-D"
 
#define SOC_FALCON_V   "Falcon-V"
 
#define SOC_FALCON_M   "Falcon-M"
 
#define COMP_FALCON   "lantiq,falcon"
 
#define PART_SHIFT   12
 
#define PART_MASK   0x0FFFF000
 
#define REV_SHIFT   28
 
#define REV_MASK   0xF0000000
 
#define SREV_SHIFT   22
 
#define SREV_MASK   0x03C00000
 
#define TYPE_SHIFT   26
 
#define TYPE_MASK   0x3C000000
 
#define BOOT_REG_BASE   (KSEG1 | 0x1F200000)
 
#define BOOT_RVEC   (BOOT_REG_BASE | 0x00)
 
#define BOOT_NVEC   (BOOT_REG_BASE | 0x04)
 
#define BOOT_EVEC   (BOOT_REG_BASE | 0x08)
 

Functions

void __init ltq_soc_nmi_setup (void)
 
void __init ltq_soc_ejtag_setup (void)
 
void __init ltq_soc_detect (struct ltq_soc_info *i)
 

Macro Definition Documentation

#define BOOT_EVEC   (BOOT_REG_BASE | 0x08)

Definition at line 39 of file prom.c.

#define BOOT_NVEC   (BOOT_REG_BASE | 0x04)

Definition at line 38 of file prom.c.

#define BOOT_REG_BASE   (KSEG1 | 0x1F200000)

Definition at line 36 of file prom.c.

#define BOOT_RVEC   (BOOT_REG_BASE | 0x00)

Definition at line 37 of file prom.c.

#define COMP_FALCON   "lantiq,falcon"

Definition at line 24 of file prom.c.

#define PART_MASK   0x0FFFF000

Definition at line 27 of file prom.c.

#define PART_SHIFT   12

Definition at line 26 of file prom.c.

#define REV_MASK   0xF0000000

Definition at line 29 of file prom.c.

#define REV_SHIFT   28

Definition at line 28 of file prom.c.

#define SOC_FALCON   "Falcon"

Definition at line 19 of file prom.c.

#define SOC_FALCON_D   "Falcon-D"

Definition at line 20 of file prom.c.

#define SOC_FALCON_M   "Falcon-M"

Definition at line 22 of file prom.c.

#define SOC_FALCON_V   "Falcon-V"

Definition at line 21 of file prom.c.

#define SREV_MASK   0x03C00000

Definition at line 31 of file prom.c.

#define SREV_SHIFT   22

Definition at line 30 of file prom.c.

#define TYPE_MASK   0x3C000000

Definition at line 33 of file prom.c.

#define TYPE_SHIFT   26

Definition at line 32 of file prom.c.

Function Documentation

void __init ltq_soc_detect ( struct ltq_soc_info i)

Definition at line 55 of file prom.c.

void __init ltq_soc_ejtag_setup ( void  )

Definition at line 48 of file prom.c.

void __init ltq_soc_nmi_setup ( void  )

Definition at line 41 of file prom.c.