Fix full reset for Ivy Bridge platforms

Experiments have shown that writing plain value of 6 at byte io
address of 0xcf9 causes the systems to reset and reboot reliably.

Change-Id: Ie900e4b4014cded868647372b027918b7ff72578
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/1050
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Vadim Bendebury 2012-05-17 17:21:27 -07:00 committed by Patrick Georgi
parent 984f9540c0
commit 71695d8a28
1 changed files with 0 additions and 9 deletions

View File

@ -26,16 +26,7 @@ void soft_reset(void)
outb(0x04, 0xcf9);
}
#if 0
void hard_reset(void)
{
/* Try rebooting through port 0xcf9. */
outb((1 << 2) | (1 << 1), 0xcf9);
}
#endif
void hard_reset(void)
{
outb(0x02, 0xcf9);
outb(0x06, 0xcf9);
}