|
@@ -62,7 +62,7 @@ static void exynos4_map_io(void);
|
|
|
static void exynos5_map_io(void);
|
|
|
static void exynos4_init_clocks(int xtal);
|
|
|
static void exynos5_init_clocks(int xtal);
|
|
|
-static void exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
+static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
static int exynos_init(void);
|
|
|
|
|
|
static struct cpu_table cpu_ids[] __initdata = {
|
|
@@ -71,7 +71,7 @@ static struct cpu_table cpu_ids[] __initdata = {
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
.init_clocks = exynos4_init_clocks,
|
|
|
- .init_uarts = exynos_init_uarts,
|
|
|
+ .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4210,
|
|
|
}, {
|
|
@@ -79,7 +79,7 @@ static struct cpu_table cpu_ids[] __initdata = {
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
.init_clocks = exynos4_init_clocks,
|
|
|
- .init_uarts = exynos_init_uarts,
|
|
|
+ .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4212,
|
|
|
}, {
|
|
@@ -87,7 +87,7 @@ static struct cpu_table cpu_ids[] __initdata = {
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
.init_clocks = exynos4_init_clocks,
|
|
|
- .init_uarts = exynos_init_uarts,
|
|
|
+ .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4412,
|
|
|
}, {
|
|
@@ -95,7 +95,6 @@ static struct cpu_table cpu_ids[] __initdata = {
|
|
|
.idmask = EXYNOS5_SOC_MASK,
|
|
|
.map_io = exynos5_map_io,
|
|
|
.init_clocks = exynos5_init_clocks,
|
|
|
- .init_uarts = exynos_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos5250,
|
|
|
},
|
|
@@ -707,7 +706,7 @@ static int __init exynos_init(void)
|
|
|
|
|
|
/* uart registration process */
|
|
|
|
|
|
-static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
+static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
{
|
|
|
struct s3c2410_uartcfg *tcfg = cfg;
|
|
|
u32 ucnt;
|
|
@@ -715,10 +714,7 @@ static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
for (ucnt = 0; ucnt < no; ucnt++, tcfg++)
|
|
|
tcfg->has_fracval = 1;
|
|
|
|
|
|
- if (soc_is_exynos5250())
|
|
|
- s3c24xx_init_uartdevs("exynos4210-uart", exynos5_uart_resources, cfg, no);
|
|
|
- else
|
|
|
- s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no);
|
|
|
+ s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no);
|
|
|
}
|
|
|
|
|
|
static void __iomem *exynos_eint_base;
|