| Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/mach-exynos4/init.c | 
| Changhwan Youn | 2b12b5c | 2010-07-26 21:08:52 +0900 | [diff] [blame] | 2 |  * | 
 | 3 |  * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 
 | 4 |  *		http://www.samsung.com/ | 
 | 5 |  * | 
 | 6 |  * This program is free software; you can redistribute it and/or modify | 
 | 7 |  * it under the terms of the GNU General Public License version 2 as | 
 | 8 |  * published by the Free Software Foundation. | 
 | 9 | */ | 
 | 10 |  | 
 | 11 | #include <linux/serial_core.h> | 
 | 12 |  | 
 | 13 | #include <plat/cpu.h> | 
 | 14 | #include <plat/devs.h> | 
 | 15 | #include <plat/regs-serial.h> | 
 | 16 |  | 
| Changhwan Youn | 2b12b5c | 2010-07-26 21:08:52 +0900 | [diff] [blame] | 17 | /* uart registration process */ | 
| Kukjin Kim | 7d30e8b | 2011-02-14 16:33:10 +0900 | [diff] [blame] | 18 | void __init exynos4_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) | 
| Changhwan Youn | 2b12b5c | 2010-07-26 21:08:52 +0900 | [diff] [blame] | 19 | { | 
 | 20 | 	struct s3c2410_uartcfg *tcfg = cfg; | 
 | 21 | 	u32 ucnt; | 
 | 22 |  | 
| Thomas Abraham | c3310fb | 2011-10-24 11:47:57 +0200 | [diff] [blame] | 23 | 	for (ucnt = 0; ucnt < no; ucnt++, tcfg++) | 
| Thomas Abraham | afba7f9 | 2011-10-24 11:47:51 +0200 | [diff] [blame] | 24 | 		tcfg->has_fracval = 1; | 
| Changhwan Youn | 2b12b5c | 2010-07-26 21:08:52 +0900 | [diff] [blame] | 25 |  | 
| Thomas Abraham | 0cfb26e | 2011-10-24 12:08:42 +0200 | [diff] [blame] | 26 | 	s3c24xx_init_uartdevs("exynos4210-uart", s5p_uart_resources, cfg, no); | 
| Changhwan Youn | 2b12b5c | 2010-07-26 21:08:52 +0900 | [diff] [blame] | 27 | } |