19 #include <linux/kernel.h>
20 #include <linux/list.h>
25 #include <linux/serial_core.h>
26 #include <linux/types.h>
34 #include <mach/regs-gpio.h>
51 #define UCON S3C2410_UCON_DEFAULT
52 #define ULCON (S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB)
53 #define UFCON (S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE)
88 static struct resource real6410_dm9k_resource[] = {
102 .num_resources =
ARRAY_SIZE(real6410_dm9k_resource),
103 .resource = real6410_dm9k_resource,
105 .platform_data = &real6410_dm9k_pdata,
116 static struct fb_videomode real6410_lcd_type0_timing = {
133 static struct fb_videomode real6410_lcd_type1_timing = {
148 .vtiming = &real6410_lcd_type0_timing,
149 .win[0] = &real6410_lcd_type0_fb_win,
154 .vtiming = &real6410_lcd_type1_timing,
155 .win[0] = &real6410_lcd_type1_fb_win,
184 .nr_partitions =
ARRAY_SIZE(real6410_nand_part),
185 .partitions = real6410_nand_part,
194 .sets = real6410_nand_sets,
198 &real6410_device_eth,
208 static void __init real6410_map_io(
void)
234 static char real6410_features_str[12] __initdata =
"0";
236 static int __init real6410_features_setup(
char *
str)
239 strlcpy(real6410_features_str, str,
240 sizeof(real6410_features_str));
244 __setup(
"real6410=", real6410_features_setup);
246 #define FEATURE_SCREEN (1 << 0)
253 static void real6410_parse_features(
255 const char *features_str)
257 const char *
fp = features_str;
269 "screen type already set\n", f);
274 "of range LCD mode\n", f);
285 static void __init real6410_machine_init(
void)
291 real6410_features_str);
294 real6410_parse_features(&features, real6410_features_str);
297 real6410_lcd_pdata[features.
lcd_index].win[0]->xres,
298 real6410_lcd_pdata[features.
lcd_index].win[0]->yres);
331 .atag_offset = 0x100,
335 .map_io = real6410_map_io,
336 .init_machine = real6410_machine_init,