aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82371eb/reset.c
blob: 1d1dd640b9340d78b7da4a5e0bd446f3438553ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include <arch/io.h>
#include "i82371eb.h"

/**
 * Initiate a hard reset.
 */
void i82371eb_hard_reset(void)
{
	outb(SRST | RCPU, RC);
}