Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/86391?usp=email )
Change subject: mb/google/rauru: Correct GPIO name to match schematics ......................................................................
mb/google/rauru: Correct GPIO name to match schematics
Rename GPIO_BEEP_ON_OD to GPIO_BEEP_ON to match the schematics.
BRANCH=rauru TEST=Build pass BUG=b:317009620
Change-Id: Ica48ed4f4e2cd6a159203ba1f8c17ac371a08f87 Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/chromeos.c M src/mainboard/google/rauru/gpio.h 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/86391/1
diff --git a/src/mainboard/google/rauru/chromeos.c b/src/mainboard/google/rauru/chromeos.c index 6a8431f..b7844b7 100644 --- a/src/mainboard/google/rauru/chromeos.c +++ b/src/mainboard/google/rauru/chromeos.c @@ -14,7 +14,7 @@ gpio_input(GPIO_SD_CD_AP_ODL); gpio_output(GPIO_AP_EC_WARM_RST_REQ, 0); gpio_output(GPIO_AP_FP_FW_UP_STRAP, 0); - gpio_output(GPIO_BEEP_ON_OD, 0); + gpio_output(GPIO_BEEP_ON, 0); gpio_output(GPIO_EN_PWR_FP, 0); gpio_output(GPIO_EN_SPKR, 0); gpio_output(GPIO_FP_RST_1V8_S3_L, 0); @@ -39,7 +39,7 @@
struct lb_gpio nau8318_gpios[] = { {GPIO_EN_SPKR.id, ACTIVE_HIGH, -1, "speaker enable"}, - {GPIO_BEEP_ON_OD.id, ACTIVE_HIGH, -1, "beep enable"}, + {GPIO_BEEP_ON.id, ACTIVE_HIGH, -1, "beep enable"}, };
struct lb_gpio smartamp_gpios[] = { diff --git a/src/mainboard/google/rauru/gpio.h b/src/mainboard/google/rauru/gpio.h index f35135c..fd15463 100644 --- a/src/mainboard/google/rauru/gpio.h +++ b/src/mainboard/google/rauru/gpio.h @@ -5,7 +5,7 @@
#include <soc/gpio.h>
-#define GPIO_BEEP_ON_OD GPIO(PERIPHERAL_EN1) +#define GPIO_BEEP_ON GPIO(PERIPHERAL_EN1) #define GPIO_EN_SPKR GPIO(PERIPHERAL_EN0) #define GPIO_SD_CD_AP_ODL GPIO(EINT11) #define GPIO_GSC_AP_INT_ODL GPIO(EINT18)