summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-06-26 14:46:39 -0700
committerFurquan Shaikh <furquan@google.com>2020-06-30 16:20:17 +0000
commitbfc5dabe126e92482984bb38762614b24b012c90 (patch)
treeb7de5d058e0e31154dad3972868bb75b4d207362
parentbdcccc0b88bc10e299468e317d24a78367536fb2 (diff)
downloadcoreboot-bfc5dabe126e92482984bb38762614b24b012c90.tar.xz
soc/amd/common/gpio: Drop unused macro GPIO_TRIGGER_INVALID
This change drops unused macro GPIO_TRIGGER_VALID from gpio_banks.h. BUG=b:159944426 Change-Id: Ie115f37893d9ba190bab56cf8b037febd8b5f4b5 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42868 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/soc/amd/common/block/include/amdblocks/gpio_banks.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/gpio_banks.h b/src/soc/amd/common/block/include/amdblocks/gpio_banks.h
index 4a8a5ae1d3..92aa8a2e4f 100644
--- a/src/soc/amd/common/block/include/amdblocks/gpio_banks.h
+++ b/src/soc/amd/common/block/include/amdblocks/gpio_banks.h
@@ -113,8 +113,6 @@ enum {
GPIO_TRIGGER_EDGE_HIGH,
};
-#define GPIO_TRIGGER_INVALID -1
-
#define GPIO_SPECIAL_FLAG (1 << 31)
#define GPIO_DEBOUNCE_FLAG (1 << 30)
#define GPIO_WAKE_FLAG (1 << 29)