2016-03-02 11:38:40 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* Copyright 2016 Rockchip Inc.
|
|
|
|
*
|
|
|
|
* 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; version 2 of the License.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2016-07-14 08:12:27 +02:00
|
|
|
#include <gpio.h>
|
2016-03-02 11:38:40 +01:00
|
|
|
#include <reset.h>
|
|
|
|
|
2016-07-14 08:12:27 +02:00
|
|
|
#include "board.h"
|
|
|
|
|
2016-03-02 11:38:40 +01:00
|
|
|
void hard_reset(void)
|
|
|
|
{
|
2016-07-14 08:12:27 +02:00
|
|
|
gpio_output(GPIO_RESET, 1);
|
|
|
|
while (1)
|
|
|
|
;
|
2016-03-02 11:38:40 +01:00
|
|
|
}
|