Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60784 )
Change subject: mb/google/herobrine: Initialize `pins` to fix the compilation issue ......................................................................
mb/google/herobrine: Initialize `pins` to fix the compilation issue
Fix compilation issue introduced with commit hash 8b63dac06 (google/herobrine: configure gpio to detect board ID) by initializing the gpio pins.
Signed-off-by: Subrata Banik subratabanik@google.com Change-Id: I084fec777b56f402efb3b04a1d358cd5b0891846 --- M src/mainboard/google/herobrine/boardid.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/60784/1
diff --git a/src/mainboard/google/herobrine/boardid.c b/src/mainboard/google/herobrine/boardid.c index ad90dd9..07ea362 100644 --- a/src/mainboard/google/herobrine/boardid.c +++ b/src/mainboard/google/herobrine/boardid.c @@ -10,7 +10,7 @@ uint32_t board_id(void) { static uint32_t id = UNDEFINED_STRAPPING_ID; - gpio_t pins[3]; + gpio_t pins[3] = { 0 }; if (CONFIG(BOARD_GOOGLE_HEROBRINE)) { pins[2] = GPIO(75); pins[1] = GPIO(74);