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:
committed by
Patrick Georgi
parent
984f9540c0
commit
71695d8a28
@ -26,16 +26,7 @@ void soft_reset(void)
|
|||||||
outb(0x04, 0xcf9);
|
outb(0x04, 0xcf9);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
void hard_reset(void)
|
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);
|
outb(0x06, 0xcf9);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user