summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-14 17:09:49 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-16 00:41:03 +0100
commit747d0f898b254b400a62cf00ef3cd7e246db9b86 (patch)
tree8ecb912f54c09da02f2def821222d19c3a2afa26 /src
parent490006bf7dae0b4df1dfe41e280cb7b40d060db8 (diff)
downloadcoreboot-747d0f898b254b400a62cf00ef3cd7e246db9b86.tar.xz
soc/samsung/exynos5250: Implement hard_reset()
Implement hard_reset() as power_reset() to make vboot happy. Change-Id: I16831055bd6ba8a8c95836fcf31f29c068153fcc Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/12722 Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/soc/samsung/exynos5250/Kconfig1
-rw-r--r--src/soc/samsung/exynos5250/power.c6
2 files changed, 7 insertions, 0 deletions
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 <arch/io.h>
#include <console/console.h>
#include <halt.h>
+#include <reset.h>
#include <soc/dmc.h>
#include <soc/power.h>
#include <soc/setup.h>
@@ -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)
{