[coreboot-gerrit] New patch to review for coreboot: soc/samsung/exynos5250: Implement hard_reset()

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Dec 15 02:34:27 CET 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12722

-gerrit

commit 96a4ef95179411d0036d92c32fd88d0fc88ba1cd
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Mon Dec 14 17:09:49 2015 -0800

    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 at coreboot.org>
---
 src/soc/samsung/exynos5250/Kconfig | 1 +
 src/soc/samsung/exynos5250/power.c | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/src/soc/samsung/exynos5250/Kconfig b/src/soc/samsung/exynos5250/Kconfig
index c8a8929..63b58e7 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 a168355..f27650d 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)
 {



More information about the coreboot-gerrit mailing list