diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-20 07:51:08 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 15:28:32 +0900 |
commit | acc84707d3487735fc666fdeab76185d086428c0 (patch) | |
tree | 2ad25308d04b36f1fc2d0d9413f3a4fa9179331e /arch/arm/mach-s5pc100/init.c | |
parent | 2af716ba77d26f3d291fe7c7f5a5108d4945c69f (diff) | |
download | lwn-acc84707d3487735fc666fdeab76185d086428c0.tar.gz lwn-acc84707d3487735fc666fdeab76185d086428c0.zip |
ARM: SAMSUNG: move S5PC100 support from plat-s5pc1xx to plat-s5p framework
This patch moves S5PC100 SoC support to plat-s5p framework. Most
periperal support code has been already moved from plat-s5pc1xx to
mach-s5pc100.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pc100/init.c')
-rw-r--r-- | arch/arm/mach-s5pc100/init.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/init.c b/arch/arm/mach-s5pc100/init.c new file mode 100644 index 000000000000..19d7b523c137 --- /dev/null +++ b/arch/arm/mach-s5pc100/init.c @@ -0,0 +1,24 @@ +/* linux/arch/arm/plat-s5pc100/s5pc100-init.c + * + * Copyright 2009 Samsung Electronics Co. + * Byungho Min <bhmin@samsung.com> + * + * + * 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/types.h> +#include <linux/init.h> + +#include <plat/cpu.h> +#include <plat/devs.h> +#include <plat/s5pc100.h> + +/* uart registration process */ +void __init s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) +{ + s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); +} |