From 747d0f898b254b400a62cf00ef3cd7e246db9b86 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 14 Dec 2015 17:09:49 -0800 Subject: soc/samsung/exynos5250: Implement hard_reset() Implement hard_reset() as power_reset() to make vboot happy. Change-Id: I16831055bd6ba8a8c95836fcf31f29c068153fcc Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/12722 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/soc/samsung/exynos5250/Kconfig | 1 + src/soc/samsung/exynos5250/power.c | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'src/soc/samsung') diff --git a/src/soc/samsung/exynos5250/Kconfig b/src/soc/samsung/exynos5250/Kconfig index c8a89293ae..63b58e7944 100644 --- a/src/soc/samsung/exynos5250/Kconfig +++ b/src/soc/samsung/exynos5250/Kconfig @@ -7,5 +7,6 @@ config CPU_SAMSUNG_EXYNOS5250 select GENERIC_UDELAY select HAVE_UART_SPECIAL select BOOTBLOCK_CONSOLE + select HAVE_HARD_RESET bool default n diff --git a/src/soc/samsung/exynos5250/power.c b/src/soc/samsung/exynos5250/power.c index a168355f14..f27650dae6 100644 --- a/src/soc/samsung/exynos5250/power.c +++ b/src/soc/samsung/exynos5250/power.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -38,6 +39,11 @@ void power_reset(void) setbits_le32(&exynos_power->sw_reset, 1); } +void hard_reset(void) +{ + power_reset(); +} + /* This function never returns */ void power_shutdown(void) { -- cgit v1.2.3