projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6dcb9
)
cmd_i2c: moved mispositioned comment for i2c md
author
Frans Meulenbroeks
<fransmeulenbroeks@gmail.com>
Fri, 26 Mar 2010 08:46:39 +0000
(09:46 +0100)
committer
Heiko Schocher
<hs@denx.de>
Mon, 29 Mar 2010 11:28:40 +0000
(13:28 +0200)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
common/cmd_i2c.c
patch
|
blob
|
history
diff --git
a/common/cmd_i2c.c
b/common/cmd_i2c.c
index b00aafb4c517627f16df3eca3d8c270bf1f000f9..a7672cf7606367182b85ce766a50cdc5527aaa13 100644
(file)
--- a/
common/cmd_i2c.c
+++ b/
common/cmd_i2c.c
@@
-148,10
+148,6
@@
int __def_i2c_set_bus_speed(unsigned int speed)
int i2c_set_bus_speed(unsigned int)
__attribute__((weak, alias("__def_i2c_set_bus_speed")));
-/*
- * Syntax:
- * i2c md {i2c_chip} {addr}{.0, .1, .2} {len}
- */
#define DISP_LINE_LEN 16
/*
@@
-211,6
+207,10
@@
static int do_i2c_read ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
+/*
+ * Syntax:
+ * i2c md {i2c_chip} {addr}{.0, .1, .2} {len}
+ */
static int do_i2c_md ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
u_char chip;