diff options
Diffstat (limited to 'arch/arm/mach-rockchip/rockchip.c')
-rw-r--r-- | arch/arm/mach-rockchip/rockchip.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c index d211d6fa0d98..968cc348e624 100644 --- a/arch/arm/mach-rockchip/rockchip.c +++ b/arch/arm/mach-rockchip/rockchip.c | |||
@@ -24,12 +24,6 @@ | |||
24 | #include <asm/hardware/cache-l2x0.h> | 24 | #include <asm/hardware/cache-l2x0.h> |
25 | #include "core.h" | 25 | #include "core.h" |
26 | 26 | ||
27 | static void __init rockchip_dt_init(void) | ||
28 | { | ||
29 | l2x0_of_init(0, ~0UL); | ||
30 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
31 | } | ||
32 | |||
33 | static const char * const rockchip_board_dt_compat[] = { | 27 | static const char * const rockchip_board_dt_compat[] = { |
34 | "rockchip,rk2928", | 28 | "rockchip,rk2928", |
35 | "rockchip,rk3066a", | 29 | "rockchip,rk3066a", |
@@ -39,7 +33,7 @@ static const char * const rockchip_board_dt_compat[] = { | |||
39 | }; | 33 | }; |
40 | 34 | ||
41 | DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)") | 35 | DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)") |
42 | .smp = smp_ops(rockchip_smp_ops), | 36 | .l2c_aux_val = 0, |
43 | .init_machine = rockchip_dt_init, | 37 | .l2c_aux_mask = ~0, |
44 | .dt_compat = rockchip_board_dt_compat, | 38 | .dt_compat = rockchip_board_dt_compat, |
45 | MACHINE_END | 39 | MACHINE_END |