Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
fb0070e9
Commit
fb0070e9
authored
15 years ago
by
Frans Meulenbroeks
Committed by
Wolfgang Denk
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmd_i2c.c: sorted commands alphabetically
Signed-off-by:
Frans Meulenbroeks
<
fransmeulenbroeks@gmail.com
>
parent
bfc3b77e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/cmd_i2c.c
+5
-6
5 additions, 6 deletions
common/cmd_i2c.c
with
5 additions
and
6 deletions
common/cmd_i2c.c
+
5
−
6
View file @
fb0070e9
...
...
@@ -1302,25 +1302,24 @@ int do_i2c(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD
(
i2c
,
6
,
1
,
do_i2c
,
"I2C sub-system"
,
"speed [speed] - show or set I2C bus speed
\n
"
#if defined(CONFIG_I2C_MUX)
"
i2c
bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes
\n
"
"bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes
\n
i2c
"
#endif
/* CONFIG_I2C_MUX */
"crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
\n
"
#if defined(CONFIG_I2C_MULTI_BUS)
"i2c dev [dev] - show or set current I2C bus
\n
"
#endif
/* CONFIG_I2C_MULTI_BUS */
"i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device
\n
"
"i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
\n
"
"i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
\n
"
"i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
\n
"
"i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
\n
"
"i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
\n
"
"i2c probe - show devices on the I2C bus
\n
"
"i2c reset - re-init the I2C Controller
\n
"
"i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device"
#if defined(CONFIG_CMD_SDRAM)
"
\n
"
"i2c sdram chip - print SDRAM configuration information"
"i2c sdram chip - print SDRAM configuration information
\n
"
#endif
"i2c speed [speed] - show or set I2C bus speed"
);
#if defined(CONFIG_I2C_MUX)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment