diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2014-08-15 17:07:39 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-02 22:53:27 +0200 |
commit | 512bfbc1c7d7fbee8d3e394c4ce8a9e440adbc9a (patch) | |
tree | f1f19e041c2cd7ae3cd7c8d4036700af3b87c4e6 /src/mainboard/google/nyan/reset.c | |
parent | b71d9b8a0f02d5f458620cb21cdfe7799b1faf84 (diff) |
Nyans: replace cpu_reset with hard_reset
The existing cpu_reset does board-wide reset, thus, should be renamed.
BUG=none
BRANCH=none
TEST=Built firmware for Nyans. Ran faft on Blaze.
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Change-Id: I5dc4fa9bae328001a897a371d4f23632701f1dd9
Original-Reviewed-on: https://chromium-review.googlesource.com/212982
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Original-Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit 29753b9c1dfe7ecd156042d69b74e9fe4244f455)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: I98eca40c50637bda01a9029a904bca6880cd081f
Reviewed-on: http://review.coreboot.org/9179
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard/google/nyan/reset.c')
-rw-r--r-- | src/mainboard/google/nyan/reset.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/nyan/reset.c b/src/mainboard/google/nyan/reset.c index 7f1fff922a..05cca2777e 100644 --- a/src/mainboard/google/nyan/reset.c +++ b/src/mainboard/google/nyan/reset.c @@ -19,10 +19,9 @@ #include <arch/io.h> #include <soc/nvidia/tegra124/gpio.h> +#include <reset.h> -#include "reset.h" - -void cpu_reset(void) +void hard_reset(void) { gpio_output(GPIO(I5), 0); while(1); |