| e09b2a02 | 13-May-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
common: cmd regulator: command cleanup
This commit cleanups the regulator command. The first change, is adjusting "regulator dev" command to use "regulator-name" constraint, for setting the operatin
common: cmd regulator: command cleanup
This commit cleanups the regulator command. The first change, is adjusting "regulator dev" command to use "regulator-name" constraint, for setting the operating device. Thanks to this, the regulator_get() function is removed.
This also updates do_list() function, with loop over uclass_find_* function calls, to prevent probe of all listed regulators.
This also cleanups the printing in command.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 6262b72b | 20-Apr-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
dm: regulator: add regulator command
This command is based on driver model regulator's API. The user interface provides: - list UCLASS regulator devices - show or [set] operating regulator device -
dm: regulator: add regulator command
This command is based on driver model regulator's API. The user interface provides: - list UCLASS regulator devices - show or [set] operating regulator device - print constraints info - print operating status - print/[set] voltage value [uV] (force) - print/[set] current value [uA] - print/[set] operating mode id - enable the regulator output - disable the regulator output
The 'force' option can be used for setting the value which exceeds the constraints min/max limits.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 59aa9df3 | 04-May-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Implement 'i2c bus' command for driver model
This command was missed in the conversion. Add it back for driver model.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershbe
dm: i2c: Implement 'i2c bus' command for driver model
This command was missed in the conversion. Add it back for driver model.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 45b9ea1d | 10-May-2015 |
Hans de Goede <hdegoede@redhat.com> |
usb: Stop reset procedure when a dev is handed over to a companion hcd
Short circuit the retry loop in legacy_hub_port_reset() by returning an error from usb_control_msg() when a device was handed o
usb: Stop reset procedure when a dev is handed over to a companion hcd
Short circuit the retry loop in legacy_hub_port_reset() by returning an error from usb_control_msg() when a device was handed over to a companion by the ehci code. This avoids trying to reset low / fullspeed devices 5 times needlessly. Also do not print an error when a device has been handed over.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
show more ...
|
| ad84a42f | 10-May-2015 |
Hans de Goede <hdegoede@redhat.com> |
usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errors
Actually check for usb_set_port_feature() errors and propagate these if they happen.
Signed-off-by: Hans de Goede <hde
usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errors
Actually check for usb_set_port_feature() errors and propagate these if they happen.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
show more ...
|
| 2068cea1 | 11-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
Use map_sysmem when accessing memory in setexpr
The setexpr command used to segfault when accessing memory in sandbox. The pointer accesses should be mapped.
Signed-off-by: Joe Hershberger <joe.her
Use map_sysmem when accessing memory in setexpr
The setexpr command used to segfault when accessing memory in sandbox. The pointer accesses should be mapped.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 27e72156 | 07-May-2015 |
Stefan Roese <sr@denx.de> |
ppc4xx: Remove sc3 board
As this board seems to be unmaintained for quite some time, and its not moved to the generic board ingrastructure, lets remove it.
This will also enable us to remove the CO
ppc4xx: Remove sc3 board
As this board seems to be unmaintained for quite some time, and its not moved to the generic board ingrastructure, lets remove it.
This will also enable us to remove the CONFIG_AUTOBOOT_DELAY_STR2 and CONFIG_AUTOBOOT_STOP_STR2 macros, as this sc3 board is the only one using one of this macros. A removal patch will follow soon.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Juergen Beisert <jbeisert@eurodsn.de> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| a69bdba9 | 05-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
Fix broken verify functionality in crc32 command
Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75 "Roll crc32 into hash infrastructure"
The crc32 command with no -v expects an optional
Fix broken verify functionality in crc32 command
Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75 "Roll crc32 into hash infrastructure"
The crc32 command with no -v expects an optional 3rd argument to be an address to store the result in. With the -v switch, the last argument is a crc, not an address. In the case where -v is set, we should set the HASH_FLAG_ENV flag since that will first look for the value to be a digest value, which matches the expected API for the crc32 command.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|