diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2020-07-15 11:48:13 +0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-07-20 20:53:21 +0000 |
commit | 767467dc67f4eb3c6b24e7cd6b548d0bdc0c2658 (patch) | |
tree | 55debe29ac682dc5ea14b3d4659b859f19e3c848 /src/mainboard/google/trogdor/chromeos.c | |
parent | 51e138c25b2e91fcaa09ed701b82a5a20540edde (diff) | |
download | coreboot-767467dc67f4eb3c6b24e7cd6b548d0bdc0c2658.tar.xz |
google/trogdor: Remove write_protect_state
This is no longer used for chromeos.c.
BUG=b:160752610
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I9a716a88ff9811fff46abca229be15522733bfef
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43472
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Bob Moragues <moragues@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/trogdor/chromeos.c')
-rw-r--r-- | src/mainboard/google/trogdor/chromeos.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c index 9c45dfe71e..989bf6902e 100644 --- a/src/mainboard/google/trogdor/chromeos.c +++ b/src/mainboard/google/trogdor/chromeos.c @@ -5,16 +5,10 @@ #include "board.h" #include <security/tpm/tis.h> -int get_write_protect_state(void) -{ - return !gpio_get(GPIO_WP_STATE); -} - void setup_chromeos_gpios(void) { gpio_input_pullup(GPIO_EC_IN_RW); gpio_input_pullup(GPIO_AP_EC_INT); - gpio_input(GPIO_WP_STATE); gpio_input_pullup(GPIO_SD_CD_L); gpio_input_irq(GPIO_H1_AP_INT, IRQ_TYPE_RISING_EDGE, GPIO_PULL_UP); gpio_output(GPIO_AMP_ENABLE, 0); |