aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s5pc1xx/s5pc100-init.c
blob: c58710884cebd5765259143b2956e5dd9c8aa543 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}