Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
ls_hgl-setup.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/ata_platform.h>
#include <linux/gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/orion5x.h>
#include "common.h"
#include "mpp.h"

Go to the source code of this file.

Macros

#define LS_HGL_NOR_BOOT_BASE   0xf4000000
 
#define LS_HGL_NOR_BOOT_SIZE   SZ_256K
 
#define LS_HGL_GPIO_LED_ALARM   2
 
#define LS_HGL_GPIO_LED_INFO   3
 
#define LS_HGL_GPIO_LED_FUNC   17
 
#define LS_HGL_GPIO_LED_PWR   0
 
#define LS_HGL_GPIO_KEY_FUNC   15
 
#define LS_HGL_GPIO_KEY_POWER   8
 
#define LS_HGL_GPIO_KEY_AUTOPOWER   10
 
#define LS_HGL_SW_POWER   0x00
 
#define LS_HGL_SW_AUTOPOWER   0x01
 
#define LS_HGL_GPIO_USB_POWER   9
 
#define LS_HGL_GPIO_AUTO_POWER   10
 
#define LS_HGL_GPIO_POWER   8
 
#define LS_HGL_GPIO_HDD_POWER   1
 

Variables

 atag_offset = 0x100
 
 init_machine = ls_hgl_init
 
 map_io = orion5x_map_io
 
 init_early = orion5x_init_early
 
 init_irq = orion5x_init_irq
 
 timer = &orion5x_timer
 
 fixup = tag_fixup_mem32
 
 restart = orion5x_restart
 

Macro Definition Documentation

#define LS_HGL_GPIO_AUTO_POWER   10

Definition at line 197 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_HDD_POWER   1

Definition at line 200 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_KEY_AUTOPOWER   10

Definition at line 126 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_KEY_FUNC   15

Definition at line 124 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_KEY_POWER   8

Definition at line 125 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_LED_ALARM   2

Definition at line 83 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_LED_FUNC   17

Definition at line 85 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_LED_INFO   3

Definition at line 84 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_LED_PWR   0

Definition at line 86 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_POWER   8

Definition at line 198 of file ls_hgl-setup.c.

#define LS_HGL_GPIO_USB_POWER   9

Definition at line 196 of file ls_hgl-setup.c.

#define LS_HGL_NOR_BOOT_BASE   0xf4000000

Definition at line 36 of file ls_hgl-setup.c.

#define LS_HGL_NOR_BOOT_SIZE   SZ_256K

Definition at line 37 of file ls_hgl-setup.c.

#define LS_HGL_SW_AUTOPOWER   0x01

Definition at line 129 of file ls_hgl-setup.c.

#define LS_HGL_SW_POWER   0x00

Definition at line 128 of file ls_hgl-setup.c.

Variable Documentation

atag_offset = 0x100

Definition at line 267 of file ls_hgl-setup.c.

fixup = tag_fixup_mem32

Definition at line 273 of file ls_hgl-setup.c.

init_early = orion5x_init_early

Definition at line 270 of file ls_hgl-setup.c.

init_irq = orion5x_init_irq

Definition at line 271 of file ls_hgl-setup.c.

init_machine = ls_hgl_init

Definition at line 268 of file ls_hgl-setup.c.

map_io = orion5x_map_io

Definition at line 269 of file ls_hgl-setup.c.

restart = orion5x_restart

Definition at line 274 of file ls_hgl-setup.c.

Definition at line 272 of file ls_hgl-setup.c.