mach-snapdragon: use SYSRESET
Use SYSRESET_PSCI instead of implementing it manually.
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ae44fab..de94748 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1078,6 +1078,8 @@
select BOARD_LATE_INIT
select OF_BOARD
select SAVE_PREV_BL_FDT_ADDR
+ select SYSRESET
+ select SYSRESET_PSCI
imply CMD_DM
imply LINUX_KERNEL_IMAGE_HEADER
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 98d4a1d..e1f4f35 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon/board.c
@@ -91,11 +91,6 @@
return (void *)fdt;
}
-void reset_cpu(void)
-{
- psci_system_reset();
-}
-
/*
* Some boards still need board specific init code, they can implement that by
* overriding this function.