summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-09-01 23:45:32 +0000
committerEric Biederman <ebiederm@xmission.com>2003-09-01 23:45:32 +0000
commit30e143a5f0d7c016428ba729ba06ab144a7a16f5 (patch)
treebe6da2c00cf177e0a5a1e3aca38dd2acb3e4bba6 /src/include
parent9bdb460a97e87b11167ef22ec2fb737ecb95aa41 (diff)
- Add back in the hard reset code from the freebios1 tree.
This allows generic code to reset the box. - Update the hypertransport code to automatically calculate link widths and freequencies, and to call hard_reset if neecessary for the changes to go into effect. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1094 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r--src/include/part/hard_reset.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/part/hard_reset.h b/src/include/part/hard_reset.h
new file mode 100644
index 0000000000..fd1bf62c44
--- /dev/null
+++ b/src/include/part/hard_reset.h
@@ -0,0 +1,11 @@
+#ifndef PART_HARD_RESET_H
+#define PART_HARD_RESET_H
+
+#if HAVE_HARD_RESET == 1
+void hard_reset(void);
+#else
+#define hard_reset() do {} while(0)
+#endif
+
+
+#endif