OpenBIC
OpenSource Bridge-IC
plat_init.c File Reference
#include "power_status.h"
#include "expansion_board.h"
#include "plat_power_seq.h"
#include "plat_gpio.h"
Include dependency graph for plat_init.c:

Macros

#define DEF_PROJ_GPIO_PRIORITY   61
 

Functions

void pal_pre_init ()
 
void pal_set_sys_status ()
 
 DEVICE_DEFINE (PRE_DEF_PROJ_GPIO, "PRE_DEF_PROJ_GPIO_NAME", &gpio_init, NULL, NULL, NULL, POST_KERNEL, DEF_PROJ_GPIO_PRIORITY, NULL)
 

Variables

SCU_CFG scu_cfg []
 

Macro Definition Documentation

◆ DEF_PROJ_GPIO_PRIORITY

#define DEF_PROJ_GPIO_PRIORITY   61

Function Documentation

◆ DEVICE_DEFINE()

DEVICE_DEFINE ( PRE_DEF_PROJ_GPIO  ,
"PRE_DEF_PROJ_GPIO_NAME"  ,
gpio_init,
NULL  ,
NULL  ,
NULL  ,
POST_KERNEL  ,
DEF_PROJ_GPIO_PRIORITY  ,
NULL   
)

◆ pal_pre_init()

void pal_pre_init ( )
Here is the call graph for this function:

◆ pal_set_sys_status()

void pal_set_sys_status ( )
Here is the call graph for this function:

Variable Documentation

◆ scu_cfg

SCU_CFG scu_cfg[]
Initial value:
= {
{ 0x7e6e2610, 0xAAAA18B0 },
{ 0x7e6e2614, 0x0D543F00 },
{ 0x7e6e2618, 0xB8004080 },
{ 0x7e6e261C, 0x0000002D },
{ 0x7e6e2630, 0x0000001E },
}