|
@@ -69,7 +69,6 @@ static const char name_exynos5440[] = "EXYNOS5440";
|
|
|
static void exynos4_map_io(void);
|
|
|
static void exynos5_map_io(void);
|
|
|
static void exynos5440_map_io(void);
|
|
|
-static void exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
static int exynos_init(void);
|
|
|
|
|
|
unsigned long xxti_f = 0, xusbxti_f = 0;
|
|
@@ -79,21 +78,18 @@ static struct cpu_table cpu_ids[] __initdata = {
|
|
|
.idcode = EXYNOS4210_CPU_ID,
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
- .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4210,
|
|
|
}, {
|
|
|
.idcode = EXYNOS4212_CPU_ID,
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
- .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4212,
|
|
|
}, {
|
|
|
.idcode = EXYNOS4412_CPU_ID,
|
|
|
.idmask = EXYNOS4_CPU_MASK,
|
|
|
.map_io = exynos4_map_io,
|
|
|
- .init_uarts = exynos4_init_uarts,
|
|
|
.init = exynos_init,
|
|
|
.name = name_exynos4412,
|
|
|
}, {
|
|
@@ -602,16 +598,3 @@ static int __init exynos_init(void)
|
|
|
|
|
|
return device_register(&exynos4_dev);
|
|
|
}
|
|
|
-
|
|
|
-/* uart registration process */
|
|
|
-
|
|
|
-static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
|
|
|
-{
|
|
|
- struct s3c2410_uartcfg *tcfg = cfg;
|
|
|
- u32 ucnt;
|
|
|
-
|
|
|
- for (ucnt = 0; ucnt < no; ucnt++, tcfg++)
|
|
|
- tcfg->has_fracval = 1;
|
|
|
-
|
|
|
- s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no);
|
|
|
-}
|