Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
src.c File Reference
#include <linux/init.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/smp.h>
#include <asm/smp_plat.h>

Go to the source code of this file.

Macros

#define SRC_SCR   0x000
 
#define SRC_GPR1   0x020
 
#define BP_SRC_SCR_WARM_RESET_ENABLE   0
 
#define BP_SRC_SCR_CORE1_RST   14
 
#define BP_SRC_SCR_CORE1_ENABLE   22
 

Functions

void imx_enable_cpu (int cpu, bool enable)
 
void imx_set_cpu_jump (int cpu, void *jump_addr)
 
void imx_src_prepare_restart (void)
 
void __init imx_src_init (void)
 

Macro Definition Documentation

#define BP_SRC_SCR_CORE1_ENABLE   22

Definition at line 24 of file src.c.

#define BP_SRC_SCR_CORE1_RST   14

Definition at line 23 of file src.c.

#define BP_SRC_SCR_WARM_RESET_ENABLE   0

Definition at line 22 of file src.c.

#define SRC_GPR1   0x020

Definition at line 21 of file src.c.

#define SRC_SCR   0x000

Definition at line 20 of file src.c.

Function Documentation

void imx_enable_cpu ( int  cpu,
bool  enable 
)

Definition at line 28 of file src.c.

void imx_set_cpu_jump ( int  cpu,
void jump_addr 
)

Definition at line 39 of file src.c.

void __init imx_src_init ( void  )

Definition at line 59 of file src.c.

void imx_src_prepare_restart ( void  )

Definition at line 46 of file src.c.