[PATCH v6 15/20] mpc83xx: gazerbeam: Update sysinfo_get error handling

Simon Glass sjg at chromium.org
Thu Oct 13 00:14:49 CEST 2022


On Wed, 12 Oct 2022 at 14:01, Michal Suchanek <msuchanek at suse.de> wrote:
>
> In a later patch sysinfo_get will be changed to return the device in cae
> of an error. Set sysinfo to NULL on error to preserve previous behavior.
>
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
>  board/gdsys/mpc8308/gazerbeam.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list