[coreboot-gerrit] Change in coreboot[master]: src/amd/stoneyridge: Fix a typo (EDGEL_TRIG -> EDGE_TRIG)
Jonathan Neuschäfer (Code Review)
gerrit at coreboot.org
Tue Apr 10 14:49:52 CEST 2018
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/25588
Change subject: src/amd/stoneyridge: Fix a typo (EDGEL_TRIG -> EDGE_TRIG)
......................................................................
src/amd/stoneyridge: Fix a typo (EDGEL_TRIG -> EDGE_TRIG)
Fixes: 2269a3c328 ("soc/amd/stoneyridge: Add functions for GPIO interrupts")
Change-Id: I5730259bc6819defc482d31644e1f476679257b2
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
M src/mainboard/google/kahlee/bootblock/bootblock.c
M src/soc/amd/stoneyridge/include/soc/gpio.h
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/25588/1
diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c
index 1eb18f1..641287c 100644
--- a/src/mainboard/google/kahlee/bootblock/bootblock.c
+++ b/src/mainboard/google/kahlee/bootblock/bootblock.c
@@ -39,7 +39,7 @@
/* Configure cr50 interrupt pin for use in polling tpm status */
if (IS_ENABLED(CONFIG_MAINBOARD_HAS_TPM_CR50)) {
- const uint32_t flags = GPIO_EDGEL_TRIG | GPIO_ACTIVE_LOW |
+ const uint32_t flags = GPIO_EDGE_TRIG | GPIO_ACTIVE_LOW |
GPIO_INT_STATUS_EN;
gpio_set_interrupt(H1_PCH_INT, flags);
}
diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h
index 2c3555b..e1ae5dd 100644
--- a/src/soc/amd/stoneyridge/include/soc/gpio.h
+++ b/src/soc/amd/stoneyridge/include/soc/gpio.h
@@ -23,7 +23,7 @@
#include <soc/iomap.h>
#include <types.h>
-#define GPIO_EDGEL_TRIG (0 << 8)
+#define GPIO_EDGE_TRIG (0 << 8)
#define GPIO_LEVEL_TRIG (1 << 8)
#define GPIO_TRIGGER_MASK (1 << 8)
--
To view, visit https://review.coreboot.org/25588
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5730259bc6819defc482d31644e1f476679257b2
Gerrit-Change-Number: 25588
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180410/d8ca84ea/attachment.html>
More information about the coreboot-gerrit
mailing list