From 2ad24833d9c336bc252f278376034e4963b6b593 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 31 Jan 2022 17:56:59 +0530 Subject: [PATCH] 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 Change-Id: Ifc7354f2ae3817459b5494d572c603eba48ec66a Reviewed-on: https://review.coreboot.org/c/coreboot/+/61503 Tested-by: build bot (Jenkins) Reviewed-by: EricR Lai --- src/mainboard/google/brya/variants/baseboard/brya/gpio.c | 9 --------- 1 file changed, 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; -}