Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
mach-bast.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/syscore_ops.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/dm9000.h>
#include <linux/ata_platform.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <net/ax88796.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <mach/bast-map.h>
#include <mach/bast-irq.h>
#include <mach/bast-cpld.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <linux/platform_data/hwmon-s3c.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <mach/fb.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
#include <linux/serial_8250.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/cpu-freq.h>
#include <plat/gpio-cfg.h>
#include <linux/platform_data/asoc-s3c24xx_simtec.h>
#include "simtec.h"
#include "common.h"

Go to the source code of this file.

Macros

#define COPYRIGHT   ", Copyright 2004-2008 Simtec Electronics"
 
#define VA_C5(item)   ((unsigned long)(item) + BAST_VAM_CS5)
 
#define VA_C4(item)   ((unsigned long)(item) + BAST_VAM_CS4)
 
#define VA_C3(item)   ((unsigned long)(item) + BAST_VAM_CS3)
 
#define VA_C2(item)   ((unsigned long)(item) + BAST_VAM_CS2)
 
#define PA_CS2(item)   (__phys_to_pfn((item) + S3C2410_CS2))
 
#define PA_CS3(item)   (__phys_to_pfn((item) + S3C2410_CS3))
 
#define PA_CS4(item)   (__phys_to_pfn((item) + S3C2410_CS4))
 
#define PA_CS5(item)   (__phys_to_pfn((item) + S3C2410_CS5))
 
#define UCON   S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
 
#define ULCON   S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
 
#define UFCON   S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
 
#define bast_pm_suspend   NULL
 
#define bast_pm_resume   NULL
 
#define SERIAL_BASE   (S3C2410_CS2 + BAST_PA_SUPERIO)
 
#define SERIAL_FLAGS   (UPF_BOOT_AUTOCONF | UPF_IOREMAP | UPF_SHARE_IRQ)
 
#define SERIAL_CLK   (1843200)
 

Variables

 atag_offset = 0x100
 
 map_io = bast_map_io
 
 init_irq = s3c24xx_init_irq
 
 init_machine = bast_init
 
 timer = &s3c24xx_timer
 
 restart = s3c2410_restart
 

Macro Definition Documentation

#define bast_pm_resume   NULL

Definition at line 209 of file mach-bast.c.

#define bast_pm_suspend   NULL

Definition at line 208 of file mach-bast.c.

#define COPYRIGHT   ", Copyright 2004-2008 Simtec Electronics"

Definition at line 70 of file mach-bast.c.

#define PA_CS2 (   item)    (__phys_to_pfn((item) + S3C2410_CS2))

Definition at line 80 of file mach-bast.c.

#define PA_CS3 (   item)    (__phys_to_pfn((item) + S3C2410_CS3))

Definition at line 81 of file mach-bast.c.

#define PA_CS4 (   item)    (__phys_to_pfn((item) + S3C2410_CS4))

Definition at line 82 of file mach-bast.c.

#define PA_CS5 (   item)    (__phys_to_pfn((item) + S3C2410_CS5))

Definition at line 83 of file mach-bast.c.

#define SERIAL_BASE   (S3C2410_CS2 + BAST_PA_SUPERIO)

Definition at line 339 of file mach-bast.c.

#define SERIAL_CLK   (1843200)

Definition at line 341 of file mach-bast.c.

#define SERIAL_FLAGS   (UPF_BOOT_AUTOCONF | UPF_IOREMAP | UPF_SHARE_IRQ)

Definition at line 340 of file mach-bast.c.

Definition at line 163 of file mach-bast.c.

Definition at line 165 of file mach-bast.c.

Definition at line 164 of file mach-bast.c.

#define VA_C2 (   item)    ((unsigned long)(item) + BAST_VAM_CS2)

Definition at line 76 of file mach-bast.c.

#define VA_C3 (   item)    ((unsigned long)(item) + BAST_VAM_CS3)

Definition at line 75 of file mach-bast.c.

#define VA_C4 (   item)    ((unsigned long)(item) + BAST_VAM_CS4)

Definition at line 74 of file mach-bast.c.

#define VA_C5 (   item)    ((unsigned long)(item) + BAST_VAM_CS5)

Definition at line 73 of file mach-bast.c.

Variable Documentation

atag_offset = 0x100

Definition at line 611 of file mach-bast.c.

init_irq = s3c24xx_init_irq

Definition at line 613 of file mach-bast.c.

init_machine = bast_init

Definition at line 614 of file mach-bast.c.

map_io = bast_map_io

Definition at line 612 of file mach-bast.c.

restart = s3c2410_restart

Definition at line 616 of file mach-bast.c.

Definition at line 615 of file mach-bast.c.