projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a8ea5
)
[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Thu, 8 Mar 2007 15:23:11 +0000
(16:23 +0100)
committer
Stefan Roese
<sr@denx.de>
Thu, 8 Mar 2007 21:17:04 +0000
(22:17 +0100)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
cpu/ppc4xx/i2c.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/i2c.c
b/cpu/ppc4xx/i2c.c
index 0b056a15de23e54d68c46f017ddfcd5460c01741..8f4da8621dde85bd2b3f75cac6659407e66ecc27 100644
(file)
--- a/
cpu/ppc4xx/i2c.c
+++ b/
cpu/ppc4xx/i2c.c
@@
-460,6
+460,7
@@
int i2c_set_bus_num(unsigned int bus)
return 0;
}
+#endif /* CONFIG_I2C_MULTI_BUS */
/* TODO: add 100/400k switching */
unsigned int i2c_get_bus_speed(void)
@@
-474,5
+475,4
@@
int i2c_set_bus_speed(unsigned int speed)
return 0;
}
-#endif /* CONFIG_I2C_MULTI_BUS */
#endif /* CONFIG_HARD_I2C */