diff options
author | Byungho Min <bhminjames@gmail.com> | 2009-06-23 21:40:15 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-08-16 23:24:58 +0100 |
commit | 8acd1ade2ede18408303c968e1449220c427a182 (patch) | |
tree | 598b77da0749b07868f2de84f210511707fe9f93 /arch/arm/plat-s5pc1xx/s5pc100-init.c | |
parent | 433a915fc6456ee3a4b740fe4d92caa78164fdce (diff) | |
download | op-kernel-dev-8acd1ade2ede18408303c968e1449220c427a182.zip op-kernel-dev-8acd1ade2ede18408303c968e1449220c427a182.tar.gz |
ARM: S5PC100: CPU initialization
Signed-off-by: Byungho Min <bhmin@samsung.com>
[ben-linux@fluff.org: subject fixup]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s5pc1xx/s5pc100-init.c')
-rw-r--r-- | arch/arm/plat-s5pc1xx/s5pc100-init.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/plat-s5pc1xx/s5pc100-init.c b/arch/arm/plat-s5pc1xx/s5pc100-init.c new file mode 100644 index 0000000..c587108 --- /dev/null +++ b/arch/arm/plat-s5pc1xx/s5pc100-init.c @@ -0,0 +1,27 @@ +/* linux/arch/arm/plat-s5pc1xx/s5pc100-init.c + * + * Copyright 2009 Samsung Electronics Co. + * Byungho Min <bhmin@samsung.com> + * + * S5PC100 - CPU initialisation (common with other S5PC1XX chips) + * + * 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) +{ + /* The driver name is s3c6400-uart to reuse s3c6400_serial_drv */ + s3c24xx_init_uartdevs("s3c6400-uart", s5pc1xx_uart_resources, cfg, no); +} |