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

Go to the source code of this file.

Macros

#define HP_T5325_GPIO_POWER_OFF   48
 

Functions

 subsys_initcall (hp_t5325_pci_init)
 

Variables

struct mtd_partition hp_t5325_partitions []
 
struct flash_platform_data hp_t5325_flash
 
struct spi_board_info __initdata hp_t5325_spi_slave_info []
 
 atag_offset = 0x100
 
 init_machine = hp_t5325_init
 
 map_io = kirkwood_map_io
 
 init_early = kirkwood_init_early
 
 init_irq = kirkwood_init_irq
 
 timer = &kirkwood_timer
 
 restart = kirkwood_restart
 

Macro Definition Documentation

#define HP_T5325_GPIO_POWER_OFF   48

Definition at line 162 of file t5325-setup.c.

Function Documentation

subsys_initcall ( hp_t5325_pci_init  )

Variable Documentation

atag_offset = 0x100

Definition at line 209 of file t5325-setup.c.

struct flash_platform_data hp_t5325_flash
Initial value:
= {
.type = "mx25l8005",
.name = "spi_flash",
}

Definition at line 62 of file t5325-setup.c.

struct mtd_partition hp_t5325_partitions[]
Initial value:
= {
{
.name = "u-boot env",
.size = SZ_64K,
.offset = SZ_512K + SZ_256K,
},
{
.name = "permanent u-boot env",
.size = SZ_64K,
.offset = MTDPART_OFS_APPEND,
.mask_flags = MTD_WRITEABLE,
},
{
.name = "HP env",
.size = SZ_64K,
.offset = MTDPART_OFS_APPEND,
},
{
.name = "u-boot",
.size = SZ_512K,
.offset = 0,
.mask_flags = MTD_WRITEABLE,
},
{
.name = "SSD firmware",
.size = SZ_256K,
.offset = SZ_512K,
},
}

Definition at line 32 of file t5325-setup.c.

struct spi_board_info __initdata hp_t5325_spi_slave_info[]
Initial value:
= {
{
.modalias = "m25p80",
.platform_data = &hp_t5325_flash,
.irq = -1,
},
}

Definition at line 69 of file t5325-setup.c.

init_early = kirkwood_init_early

Definition at line 212 of file t5325-setup.c.

init_irq = kirkwood_init_irq

Definition at line 213 of file t5325-setup.c.

init_machine = hp_t5325_init

Definition at line 210 of file t5325-setup.c.

map_io = kirkwood_map_io

Definition at line 211 of file t5325-setup.c.

restart = kirkwood_restart

Definition at line 215 of file t5325-setup.c.

Definition at line 214 of file t5325-setup.c.