projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8809a27
)
ppc4xx: Correct GPIO offset in gpio_config()
author
Stefan Roese
<sr@denx.de>
Tue, 11 Dec 2007 12:38:19 +0000
(13:38 +0100)
committer
Stefan Roese
<sr@denx.de>
Tue, 11 Dec 2007 12:38:19 +0000
(13:38 +0100)
Thanks to Gary Jennejohn for pointing this out.
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/gpio.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/gpio.c
b/cpu/ppc4xx/gpio.c
index dcf1fba8384d7d5603b33daa9c59c775b50bd96c..7b09a2f7d37d8488c3218e7d4bf58b6d7f895171 100644
(file)
--- a/
cpu/ppc4xx/gpio.c
+++ b/
cpu/ppc4xx/gpio.c
@@
-47,7
+47,7
@@
void gpio_config(int pin, int in_out, int gpio_alt, int out_val)
}
if (pin >= GPIO_MAX/2) {
- offs2 = 0x
100
;
+ offs2 = 0x
4
;
pin2 = (pin - GPIO_MAX/2) << 1;
}