Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ts78xx-setup.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/sysfs.h>
#include <linux/platform_device.h>
#include <linux/mv643xx_eth.h>
#include <linux/ata_platform.h>
#include <linux/m48t86.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/timeriomem-rng.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <mach/orion5x.h>
#include "common.h"
#include "mpp.h"
#include "ts78xx-fpga.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define TS78XX_FPGA_REGS_PHYS_BASE   0xe8000000
 
#define TS78XX_FPGA_REGS_VIRT_BASE   IOMEM(0xff900000)
 
#define TS78XX_FPGA_REGS_SIZE   SZ_1M
 
#define TS_RTC_CTRL   (TS78XX_FPGA_REGS_VIRT_BASE + 0x808)
 
#define TS_RTC_DATA   (TS78XX_FPGA_REGS_VIRT_BASE + 0x80c)
 
#define TS_NAND_CTRL   (TS78XX_FPGA_REGS_VIRT_BASE + 0x800) /* VIRT */
 
#define TS_NAND_DATA   (TS78XX_FPGA_REGS_PHYS_BASE + 0x804) /* PHYS */
 
#define TS_RNG_DATA   (TS78XX_FPGA_REGS_PHYS_BASE | 0x044)
 

Functions

void __init ts78xx_map_io (void)
 

Variables

 atag_offset = 0x100
 
 init_machine = ts78xx_init
 
 map_io = ts78xx_map_io
 
 init_early = orion5x_init_early
 
 init_irq = orion5x_init_irq
 
 timer = &orion5x_timer
 
 restart = orion5x_restart
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 11 of file ts78xx-setup.c.

#define TS78XX_FPGA_REGS_PHYS_BASE   0xe8000000

Definition at line 38 of file ts78xx-setup.c.

#define TS78XX_FPGA_REGS_SIZE   SZ_1M

Definition at line 40 of file ts78xx-setup.c.

#define TS78XX_FPGA_REGS_VIRT_BASE   IOMEM(0xff900000)

Definition at line 39 of file ts78xx-setup.c.

#define TS_NAND_CTRL   (TS78XX_FPGA_REGS_VIRT_BASE + 0x800) /* VIRT */

Definition at line 165 of file ts78xx-setup.c.

#define TS_NAND_DATA   (TS78XX_FPGA_REGS_PHYS_BASE + 0x804) /* PHYS */

Definition at line 166 of file ts78xx-setup.c.

#define TS_RNG_DATA   (TS78XX_FPGA_REGS_PHYS_BASE | 0x044)

Definition at line 335 of file ts78xx-setup.c.

#define TS_RTC_CTRL   (TS78XX_FPGA_REGS_VIRT_BASE + 0x808)

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

#define TS_RTC_DATA   (TS78XX_FPGA_REGS_VIRT_BASE + 0x80c)

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

Function Documentation

void __init ts78xx_map_io ( void  )

Definition at line 60 of file ts78xx-setup.c.

Variable Documentation

atag_offset = 0x100

Definition at line 617 of file ts78xx-setup.c.

init_early = orion5x_init_early

Definition at line 620 of file ts78xx-setup.c.

init_irq = orion5x_init_irq

Definition at line 621 of file ts78xx-setup.c.

init_machine = ts78xx_init

Definition at line 618 of file ts78xx-setup.c.

map_io = ts78xx_map_io

Definition at line 619 of file ts78xx-setup.c.

restart = orion5x_restart

Definition at line 623 of file ts78xx-setup.c.

Definition at line 622 of file ts78xx-setup.c.