- 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
This commit is contained in:
Eric Biederman
2003-09-01 23:45:32 +00:00
parent 9bdb460a97
commit 30e143a5f0
4 changed files with 193 additions and 108 deletions

View File

@ -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);