[PATCH] samsung: common: ignore if CROS EC is not supported

Simon Glass sjg at chromium.org
Thu Feb 16 00:50:01 CET 2023


On Wed, 15 Feb 2023 at 12:03, Stefan Agner <stefan at agner.ch> wrote:
>
> If the CROS device class is not compiled in, uclass returns not
> supported. Ignore this case as well.
>
> This avoids boot failures on ODROID-XU4 without CONFIG_CROS_EC
> ending with:
> cros-ec communications failure -96
> Please reset with Power+Refresh
> Cannot init cros-ec device
>
> Signed-off-by: Stefan Agner <stefan at agner.ch>
> ---
>  board/samsung/common/board.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the U-Boot mailing list