summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-01-31 17:56:59 +0530
committerSubrata Banik <subratabanik@google.com>2022-02-02 07:03:33 +0000
commit2ad24833d9c336bc252f278376034e4963b6b593 (patch)
treebce442b4c44c6ee5637d2d36e1df41c42aecfdcc /src/mainboard
parentfedc5427fde2d8fa17ebcf168cd90bc33467f07f (diff)
mb/google/brya: Remove `mb_gpio_lock_config()` override function
This patch removes `lockable_brya_gpios` lists and `mb_gpio_lock_config` override function from brya baseboard directory as the variant GPIO pad configuration table is now capable of locking GPIO PADs. BUG=b:208827718 TEST=Able to built and boot brya. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ifc7354f2ae3817459b5494d572c603eba48ec66a Reviewed-on: https://review.coreboot.org/c/coreboot/+/61503 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/gpio.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/gpio.c b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
index d037e4036a..9c99363ddb 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
+++ b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
@@ -456,12 +456,3 @@ const struct pad_config *__weak variant_romstage_gpio_table(size_t *num)
*num = 0;
return NULL;
}
-
-static struct gpio_lock_config lockable_brya_gpios[] = {
-};
-
-const struct gpio_lock_config *mb_gpio_lock_config(size_t *num)
-{
- *num = ARRAY_SIZE(lockable_brya_gpios);
- return lockable_brya_gpios;
-}