#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/input.h>
#include <linux/io.h>
#include <linux/serial_core.h>
#include <linux/dm9000.h>
#include <linux/i2c/at24.h>
#include <linux/platform_device.h>
#include <linux/gpio_keys.h>
#include <linux/i2c.h>
#include <linux/mmc/host.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
#include <mach/fb.h>
#include <asm/mach-types.h>
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <linux/platform_data/leds-s3c24xx.h>
#include <mach/regs-mem.h>
#include <mach/regs-lcd.h>
#include <mach/irqs.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <sound/s3c24xx_uda134x.h>
#include "common.h"
Go to the source code of this file.
|
| __setup ("mini2440=", mini2440_features_setup) |
|
#define _LCD_DECLARE |
( |
|
_clock, |
|
|
|
_xres, |
|
|
|
margin_left, |
|
|
|
margin_right, |
|
|
|
hsync, |
|
|
|
_yres, |
|
|
|
margin_top, |
|
|
|
margin_bottom, |
|
|
|
vsync, |
|
|
|
refresh |
|
) |
| |
Value:.width = _xres, \
.xres = _xres, \
.height = _yres, \
.yres = _yres, \
.left_margin = margin_left, \
.right_margin = margin_right, \
.upper_margin = margin_top, \
.lower_margin = margin_bottom, \
.pixclock = ((_clock*100000000000
LL) / \
((refresh) * \
(
hsync + margin_left + _xres + margin_right) * \
(
vsync + margin_top + _yres + margin_bottom))), \
.bpp = 16,\
S3C2410_LCDCON1_TFT)
Definition at line 112 of file mach-mini2440.c.
#define FEATURE_BACKLIGHT (1 << 1) |
#define FEATURE_CAMERA (1 << 3) |
#define FEATURE_SCREEN (1 << 0) |
#define FEATURE_TOUCH (1 << 2) |
#define S3C2410_GPCCON_MASK |
( |
|
x | ) |
(3 << ((x) * 2)) |
#define S3C2410_GPDCON_MASK |
( |
|
x | ) |
(3 << ((x) * 2)) |
init_machine = mini2440_init |