Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
snappercl15.c File Reference
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/fb.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/nand.h>
#include <mach/hardware.h>
#include <linux/platform_data/video-ep93xx.h>
#include <mach/gpio-ep93xx.h>
#include <asm/hardware/vic.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include "soc.h"

Go to the source code of this file.

Macros

#define SNAPPERCL15_NAND_BASE   (EP93XX_CS7_PHYS_BASE + SZ_16M)
 
#define SNAPPERCL15_NAND_WPN   (1 << 8) /* Write protect (active low) */
 
#define SNAPPERCL15_NAND_ALE   (1 << 9) /* Address latch */
 
#define SNAPPERCL15_NAND_CLE   (1 << 10) /* Command latch */
 
#define SNAPPERCL15_NAND_CEN   (1 << 11) /* Chip enable (active low) */
 
#define SNAPPERCL15_NAND_RDY   (1 << 14) /* Device ready */
 
#define NAND_CTRL_ADDR(chip)   (chip->IO_ADDR_W + 0x40)
 

Variables

 atag_offset = 0x100
 
 map_io = ep93xx_map_io
 
 init_irq = ep93xx_init_irq
 
 handle_irq = vic_handle_irq
 
 timer = &ep93xx_timer
 
 init_machine = snappercl15_init_machine
 
 init_late = ep93xx_init_late
 
 restart = ep93xx_restart
 

Macro Definition Documentation

#define NAND_CTRL_ADDR (   chip)    (chip->IO_ADDR_W + 0x40)

Definition at line 48 of file snappercl15.c.

#define SNAPPERCL15_NAND_ALE   (1 << 9) /* Address latch */

Definition at line 43 of file snappercl15.c.

#define SNAPPERCL15_NAND_BASE   (EP93XX_CS7_PHYS_BASE + SZ_16M)

Definition at line 40 of file snappercl15.c.

#define SNAPPERCL15_NAND_CEN   (1 << 11) /* Chip enable (active low) */

Definition at line 45 of file snappercl15.c.

#define SNAPPERCL15_NAND_CLE   (1 << 10) /* Command latch */

Definition at line 44 of file snappercl15.c.

#define SNAPPERCL15_NAND_RDY   (1 << 14) /* Device ready */

Definition at line 46 of file snappercl15.c.

#define SNAPPERCL15_NAND_WPN   (1 << 8) /* Write protect (active low) */

Definition at line 42 of file snappercl15.c.

Variable Documentation

atag_offset = 0x100

Definition at line 176 of file snappercl15.c.

handle_irq = vic_handle_irq

Definition at line 179 of file snappercl15.c.

init_irq = ep93xx_init_irq

Definition at line 178 of file snappercl15.c.

init_late = ep93xx_init_late

Definition at line 182 of file snappercl15.c.

init_machine = snappercl15_init_machine

Definition at line 181 of file snappercl15.c.

map_io = ep93xx_map_io

Definition at line 177 of file snappercl15.c.

restart = ep93xx_restart

Definition at line 183 of file snappercl15.c.

Definition at line 180 of file snappercl15.c.