diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2012-06-19 04:56:24 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-07-24 19:53:28 +0200 |
commit | 8bdbddfeeaec5f0eb16a1d77af6ec860a62f4e01 (patch) | |
tree | 8598c56deca9b46b379c64bbc8ede6d66c8e3629 /src/southbridge/intel/bd82x6x/gpio.c | |
parent | 6097e193fc708942931fd60ad40d40e95550ecb0 (diff) |
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 <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/1291
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/southbridge/intel/bd82x6x/gpio.c')
-rw-r--r-- | src/southbridge/intel/bd82x6x/gpio.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |