summaryrefslogtreecommitdiff
path: root/src/mainboard/dell/s1850/reset.c
blob: 745f187cae97bf2b54635f2d7c6cc06dd72e6b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <arch/io.h>
#include <reset.h>
#if defined (__PRE_RAM__)
#include <arch/romcc_io.h>
#endif

void soft_reset(void)
{
        outb(0x04, 0xcf9);
}

void hard_reset(void)
{
        outb(0x02, 0xcf9);
        outb(0x06, 0xcf9);
}