|
@@ -31,13 +31,10 @@
|
|
|
|
|
|
static void __init marzen_init_timer(void)
|
|
|
{
|
|
|
-#ifdef CONFIG_COMMON_CLK
|
|
|
r8a7779_clocks_init(r8a7779_read_mode_pins());
|
|
|
-#endif
|
|
|
clocksource_of_init();
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_COMMON_CLK
|
|
|
/*
|
|
|
* This is a really crude hack to provide clkdev support to platform
|
|
|
* devices until they get moved to DT.
|
|
@@ -51,15 +48,10 @@ static const struct clk_name clk_names[] __initconst = {
|
|
|
{ "scif5", NULL, "sh-sci.5" },
|
|
|
{ "tmu0", "fck", "sh-tmu.0" },
|
|
|
};
|
|
|
-#endif
|
|
|
|
|
|
static void __init marzen_init(void)
|
|
|
{
|
|
|
-#ifdef CONFIG_COMMON_CLK
|
|
|
shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), false);
|
|
|
-#else
|
|
|
- r8a7779_clock_init();
|
|
|
-#endif
|
|
|
r8a7779_add_standard_devices_dt();
|
|
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
|
|
r8a7779_init_irq_extpin_dt(1); /* IRQ1 as individual interrupt */
|