From 8bdbddfeeaec5f0eb16a1d77af6ec860a62f4e01 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 19 Jun 2012 04:56:24 +0000 Subject: Fix function generating GPIO state based vector The function was too eager shifting stuff around, this change corrects the problem. Change-Id: I4c13dbe86cb627835dae05bb74af9867c28e143d Signed-off-by: Vadim Bendebury Reviewed-on: http://review.coreboot.org/1291 Tested-by: build bot (Jenkins) --- src/southbridge/intel/bd82x6x/gpio.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/southbridge') diff --git a/src/southbridge/intel/bd82x6x/gpio.c b/src/southbridge/intel/bd82x6x/gpio.c index 2ba34ea5aa..25eda9a74c 100644 --- a/src/southbridge/intel/bd82x6x/gpio.c +++ b/src/southbridge/intel/bd82x6x/gpio.c @@ -93,7 +93,6 @@ unsigned get_gpios(const int *gpio_num_array) while (bitmask && ((gpio = *gpio_num_array++) != -1)) { - vector <<= 1; if (get_gpio(gpio)) vector |= bitmask; bitmask <<= 1; -- cgit v1.2.3