]> git.sur5r.net Git - u-boot/commit
dm: Avoid activating devices in 'dm uclass' command
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:11 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:25 +0000 (14:07 +0100)
commit4e8bc211703d3c93689367745e8c07dc22c68dfc
tree837773c2e9868b4b0144f8cb487c550e71937db3
parentfffa24d7c5998a5821c423ef07bdbc8c4d7bdcf1
dm: Avoid activating devices in 'dm uclass' command

This command currently activates devices as it lists them. This is not
desirable since it changes the system state. Fix it and avoid printing
a newline if there are no devices in a uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/cmd_dm.c