summaryrefslogtreecommitdiff
path: root/common/cmd_i2c.c
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-03-26 09:46:39 +0100
committerHeiko Schocher <hs@denx.de>2010-03-29 13:28:40 +0200
commit4a8cf3382a6fea5cccc1e2ae61a4601bf26490c3 (patch)
treecf06de500eb330f9201f9c0ffd90be65117bb75f /common/cmd_i2c.c
parent3a6dcb988eee3fd3cd9c5ef96855a8da729a290e (diff)
downloadu-boot-imx-4a8cf3382a6fea5cccc1e2ae61a4601bf26490c3.zip
u-boot-imx-4a8cf3382a6fea5cccc1e2ae61a4601bf26490c3.tar.gz
u-boot-imx-4a8cf3382a6fea5cccc1e2ae61a4601bf26490c3.tar.bz2
cmd_i2c: moved mispositioned comment for i2c md
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'common/cmd_i2c.c')
-rw-r--r--common/cmd_i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
index b00aafb..a7672cf 100644
--- 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;