[U-Boot] [PATCH v6 05/14] cmd: cpu: refactor to ensure devices are probed and improve code style

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Apr 30 18:32:30 UTC 2017



Am 25.04.2017 um 00:39 schrieb Álvaro Fernández Rojas:
> Use uclass_first_device and uclass_next_device in order to avoid exceptions
> for drivers that aren't probed when cpu ops are requested.
> Improve code style and fix indentations.
> Fix incorrect line break when cpu info is not available.
> Remove unneeded brackets.
> 
> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  v6: No changes.
>  v5: No changes.
>  v4: Refactor code to use uclass_first_device and uclass_next_device as
>   requested by Simon Glass.
>  v3: add new patch to ensure that device is probed.
> 
>  cmd/cpu.c | 30 +++++++++++++-----------------
>  1 file changed, 13 insertions(+), 17 deletions(-)
> 

applied to u-boot-mips/next, thanks!

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170430/0f6da7e8/attachment.sig>


More information about the U-Boot mailing list