Commit db1e1135 authored by Rob Herring's avatar Rob Herring Committed by Linus Walleij
Browse files

ARM: versatile: Remove dead sched_clock code



Now that there's a DT based sched_clock driver in
drivers/clocksource/timer-versatile.c and all the Arm reference
platforms are DT only, the non-DT versatile sched_clock code can be
removed.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200409221952.31287-1-robh@kernel.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 65fd41e6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -735,7 +735,6 @@ source "arch/arm/mach-ux500/Kconfig"
source "arch/arm/mach-versatile/Kconfig"

source "arch/arm/mach-vexpress/Kconfig"
source "arch/arm/plat-versatile/Kconfig"

source "arch/arm/mach-vt8500/Kconfig"

+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ menuconfig ARCH_REALVIEW
	select MACH_REALVIEW_EB if ARCH_MULTI_V5
	select MFD_SYSCON
	select PLAT_VERSATILE
	select PLAT_VERSATILE_SCHED_CLOCK
	select POWER_RESET
	select POWER_RESET_VERSATILE
	select POWER_SUPPLY

arch/arm/plat-versatile/Kconfig

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
if PLAT_VERSATILE

config PLAT_VERSATILE_SCHED_CLOCK
	bool

endif
+0 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include

obj-$(CONFIG_PLAT_VERSATILE_SCHED_CLOCK) += sched-clock.o
obj-$(CONFIG_SMP) += headsmp.o platsmp.o
obj-$(CONFIG_HOTPLUG_CPU)		+= hotplug.o
+0 −7
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ARM_PLAT_SCHED_CLOCK_H
#define ARM_PLAT_SCHED_CLOCK_H

void versatile_sched_clock_init(void __iomem *, unsigned long);

#endif
Loading