From e8791361b5825d2133c778c63a520d45540dcaf2 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 6 Oct 2018 17:53:14 +0200 Subject: reset: Convert individual boards to `board_reset()` Change-Id: I6182da172ae2f4107a9b5d8190e4b3b10ed2f0b9 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/29048 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/mainboard/google/foster/pmic.c | 2 +- src/mainboard/google/foster/reset.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/foster') diff --git a/src/mainboard/google/foster/pmic.c b/src/mainboard/google/foster/pmic.c index b73983b614..8d4f855175 100644 --- a/src/mainboard/google/foster/pmic.c +++ b/src/mainboard/google/foster/pmic.c @@ -44,7 +44,7 @@ static void pmic_write_reg(unsigned bus, uint8_t reg, uint8_t val, int delay) printk(BIOS_ERR, "%s: reg = 0x%02X, value = 0x%02X failed!\n", __func__, reg, val); /* Reset the board on any PMIC write error */ - hard_reset(); + board_reset(); } else { if (delay) udelay(500); diff --git a/src/mainboard/google/foster/reset.c b/src/mainboard/google/foster/reset.c index 1b9e9e9a36..b30e1ace91 100644 --- a/src/mainboard/google/foster/reset.c +++ b/src/mainboard/google/foster/reset.c @@ -18,7 +18,7 @@ #include #include -void do_hard_reset(void) +void do_board_reset(void) { gpio_output(GPIO(I5), 0); } -- cgit v1.2.3