[PATCH 1/2] board-info: Use sysinfo_get()

Tom Rini trini at konsulko.com
Wed Jul 14 22:52:22 CEST 2021


On Sun, Jul 04, 2021 at 09:32:04PM +0200, Marek Vasut wrote:

> Replace uclass_first_device_err(UCLASS_SYSINFO, &dev) with sysinfo_get(&dev).
> The board_info code may use sysinfo to print board information, so use the
> sysinfo functions consistently. The sysinfo_get() is internally implemented
> as return uclass_first_device_err(UCLASS_SYSINFO, &dev) anyway, so there is
> no functional change.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Cc: Simon Glass <sjg at chromium.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210714/9aacf366/attachment.sig>


More information about the U-Boot mailing list