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)
This commit is contained in:
Vadim Bendebury 2012-06-19 04:56:24 +00:00 committed by Stefan Reinauer
parent 6097e193fc
commit 8bdbddfeea
1 changed files with 0 additions and 1 deletions

View File

@ -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;