summaryrefslogtreecommitdiff
path: root/src/mainboard/google/purin/reset.c
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-01-23 10:05:52 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-17 09:57:12 +0200
commit710e0a2726b43070133f4c2affb986c7aef6c26e (patch)
tree321a57998841ac6a572f6a547cf232c29e13447c /src/mainboard/google/purin/reset.c
parenta6712f3166f1a9e896f7ff0d4ef6216d7b9d081a (diff)
purin: add purin under mainboard
this change covers bootblock and romstage. BUG=none BRANCH=tot TEST=ran emerge-purin coreboot Change-Id: Ifffb2e93189e8e85338de469432f3296e3e71791 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: cd479583404958f72461e9c1639f0288a00f228e Original-Change-Id: Iaee4a8c457e42386a4100a8121144b8cf5f21e8c Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/242853 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9751 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/purin/reset.c')
-rw-r--r--src/mainboard/google/purin/reset.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/google/purin/reset.c b/src/mainboard/google/purin/reset.c
new file mode 100644
index 0000000000..567ac18a4d
--- /dev/null
+++ b/src/mainboard/google/purin/reset.c
@@ -0,0 +1,26 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2015 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <reset.h>
+
+void hard_reset(void)
+{
+ while (1)
+ ;
+}