|
@@ -19,29 +19,10 @@
|
|
|
*/
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
-#include <linux/of_platform.h>
|
|
|
|
|
|
-#include <asm/mach-types.h>
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
|
|
-#include "clock.h"
|
|
|
#include "common.h"
|
|
|
-#include "r7s72100.h"
|
|
|
-
|
|
|
-/*
|
|
|
- * This is a really crude hack to provide clkdev support to platform
|
|
|
- * devices until they get moved to DT.
|
|
|
- */
|
|
|
-static const struct clk_name clk_names[] = {
|
|
|
- { "mtu2", "fck", "sh-mtu2" },
|
|
|
-};
|
|
|
-
|
|
|
-static void __init genmai_add_standard_devices(void)
|
|
|
-{
|
|
|
- shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), true);
|
|
|
- r7s72100_add_dt_devices();
|
|
|
- of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
|
|
-}
|
|
|
|
|
|
static const char * const genmai_boards_compat_dt[] __initconst = {
|
|
|
"renesas,genmai",
|
|
@@ -50,6 +31,5 @@ static const char * const genmai_boards_compat_dt[] __initconst = {
|
|
|
|
|
|
DT_MACHINE_START(GENMAI_DT, "genmai")
|
|
|
.init_early = shmobile_init_delay,
|
|
|
- .init_machine = genmai_add_standard_devices,
|
|
|
.dt_compat = genmai_boards_compat_dt,
|
|
|
MACHINE_END
|