blob: 9612d56b3c68eb25c607610477410dbe3d3785fe [file] [log] [blame]
Tom Warrenbb932c52014-04-30 14:51:38 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2014 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Tom Warrenbb932c52014-04-30 14:51:38 -070014 */
15
16#include <arch/io.h>
Julius Wernereaa9c452014-09-24 15:40:49 -070017#include <gpio.h>
Daisuke Nojiri512bfbc2014-08-15 17:07:39 -070018#include <reset.h>
Tom Warrenbb932c52014-04-30 14:51:38 -070019
Daisuke Nojiri512bfbc2014-08-15 17:07:39 -070020void hard_reset(void)
Tom Warrenbb932c52014-04-30 14:51:38 -070021{
22 gpio_output(GPIO(I5), 0);
23 while(1);
24}