| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | /* * Copyright (c) 2011 Samsung Electronics Co., Ltd. *		http://www.samsung.com * * Copyright 2008 Openmoko, Inc. * Copyright 2008 Simtec Electronics *	Ben Dooks <ben@simtec.co.uk> *	http://armlinux.simtec.co.uk/ * * Common Codes for S3C64XX machines * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include <linux/kernel.h>#include <linux/init.h>#include <linux/module.h>#include <linux/interrupt.h>#include <linux/ioport.h>#include <linux/serial_core.h>#include <linux/platform_device.h>#include <linux/io.h>#include <linux/dma-mapping.h>#include <linux/irq.h>#include <linux/gpio.h>#include <asm/mach/arch.h>#include <asm/mach/map.h>#include <asm/hardware/vic.h>#include <asm/system_misc.h>#include <mach/map.h>#include <mach/hardware.h>#include <mach/regs-gpio.h>#include <plat/cpu.h>#include <plat/clock.h>#include <plat/devs.h>#include <plat/pm.h>#include <plat/gpio-cfg.h>#include <plat/irq-uart.h>#include <plat/irq-vic-timer.h>#include <plat/regs-irqtype.h>#include <plat/regs-serial.h>#include <plat/watchdog-reset.h>#include "common.h"/* uart registration process */static void __init s3c64xx_init_uarts(struct s3c2410_uartcfg *cfg, int no){	s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);}/* table of supported CPUs */static const char name_s3c6400[] = "S3C6400";static const char name_s3c6410[] = "S3C6410";static struct cpu_table cpu_ids[] __initdata = {	{		.idcode		= S3C6400_CPU_ID,		.idmask		= S3C64XX_CPU_MASK,		.map_io		= s3c6400_map_io,		.init_clocks	= s3c6400_init_clocks,		.init_uarts	= s3c64xx_init_uarts,		.init		= s3c6400_init,		.name		= name_s3c6400,	}, {
 |