Skip to content

Commit

Permalink
ARM: sun6i: Retire the smp field in A31 machine
Browse files Browse the repository at this point in the history
Now that we can rely on the enable-method, remove the smp field declaration
from A31 machine.

Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
mripard committed May 17, 2014
1 parent 913627b commit 27a3cf0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
19 changes: 0 additions & 19 deletions arch/arm/mach-sunxi/common.h

This file was deleted.

2 changes: 0 additions & 2 deletions arch/arm/mach-sunxi/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <linux/of_address.h>
#include <linux/smp.h>

#include "common.h"

#define CPUCFG_CPU_PWR_CLAMP_STATUS_REG(cpu) ((cpu) * 0x40 + 0x64)
#define CPUCFG_CPU_RST_CTRL_REG(cpu) (((cpu) + 1) * 0x40)
#define CPUCFG_CPU_CTRL_REG(cpu) (((cpu) + 1) * 0x40 + 0x04)
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-sunxi/sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include <asm/mach/map.h>
#include <asm/system_misc.h>

#include "common.h"

#define SUN4I_WATCHDOG_CTRL_REG 0x00
#define SUN4I_WATCHDOG_CTRL_RESTART BIT(0)
#define SUN4I_WATCHDOG_MODE_REG 0x04
Expand Down Expand Up @@ -149,7 +147,6 @@ DT_MACHINE_START(SUN6I_DT, "Allwinner sun6i (A31) Family")
.init_time = sun6i_timer_init,
.dt_compat = sun6i_board_dt_compat,
.restart = sun6i_restart,
.smp = smp_ops(sun6i_smp_ops),
MACHINE_END

static const char * const sun7i_board_dt_compat[] = {
Expand Down

0 comments on commit 27a3cf0

Please sign in to comment.