From 30e143a5f0d7c016428ba729ba06ab144a7a16f5 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Mon, 1 Sep 2003 23:45:32 +0000 Subject: - 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 --- src/include/part/hard_reset.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/include/part/hard_reset.h (limited to 'src/include') 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 -- cgit v1.2.3