blob: f87582901a4d673156b8821babfe1ddbb12afeb4 [file] [log] [blame]
Patrick Georgi4d6ad832015-06-22 19:43:18 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2015 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.
Patrick Georgi4d6ad832015-06-22 19:43:18 +020014 */
15
16#include <arch/io.h>
17#include <reset.h>
18
19#include "gpio.h"
20
21void hard_reset(void)
22{
23 gpio_output(AP_SYS_RESET_L, 0);
24 while (1)
25 ;
26}