aboutsummaryrefslogtreecommitdiff
path: root/src/boot/hardwaremain.c
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/boot/hardwaremain.c
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/boot/hardwaremain.c')
-rw-r--r--src/boot/hardwaremain.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index 2bff70ce93..11ad8e4b87 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -40,9 +40,7 @@ it with the version available from LANL.
#if 0
#include <part/mainboard.h>
#endif
-#if 0
#include <part/hard_reset.h>
-#endif
#include <smp/atomic.h>
#include <boot/elf.h>
@@ -160,12 +158,10 @@ void hardwaremain(int boot_complete)
post_code(0x40);
-#if 0
/* If we have already booted attempt a hard reboot */
if (boot_complete) {
hard_reset();
}
-#endif
init_timer(); /* needs to be moved into static configuration */
CONFIGURE(CONF_PASS_PRE_PCI);