|
@@ -15,11 +15,13 @@
|
|
|
#include <linux/serial_core.h>
|
|
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
+#include <asm/hardware/gic.h>
|
|
|
#include <mach/map.h>
|
|
|
|
|
|
#include <plat/cpu.h>
|
|
|
#include <plat/regs-serial.h>
|
|
|
-#include <plat/exynos4.h>
|
|
|
+
|
|
|
+#include "common.h"
|
|
|
|
|
|
/*
|
|
|
* The following lookup table is used to override device names when devices
|
|
@@ -60,7 +62,7 @@ static const struct of_dev_auxdata exynos4210_auxdata_lookup[] __initconst = {
|
|
|
|
|
|
static void __init exynos4210_dt_map_io(void)
|
|
|
{
|
|
|
- s5p_init_io(NULL, 0, S5P_VA_CHIPID);
|
|
|
+ exynos_init_io(NULL, 0);
|
|
|
s3c24xx_init_clocks(24000000);
|
|
|
}
|
|
|
|
|
@@ -79,7 +81,9 @@ DT_MACHINE_START(EXYNOS4210_DT, "Samsung Exynos4 (Flattened Device Tree)")
|
|
|
/* Maintainer: Thomas Abraham <thomas.abraham@linaro.org> */
|
|
|
.init_irq = exynos4_init_irq,
|
|
|
.map_io = exynos4210_dt_map_io,
|
|
|
+ .handle_irq = gic_handle_irq,
|
|
|
.init_machine = exynos4210_dt_machine_init,
|
|
|
.timer = &exynos4_timer,
|
|
|
.dt_compat = exynos4210_dt_compat,
|
|
|
+ .restart = exynos4_restart,
|
|
|
MACHINE_END
|