Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1291
-gerrit
commit 295cc9865b194e5cfe126d6f7fd56187078325dc Author: Vadim Bendebury vbendeb@chromium.org Date: Tue Jun 19 04:56:24 2012 +0000
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 --- 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 2ba34ea..25eda9a 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;