]> Git Repo - J-u-boot.git/commit - board/samsung/common/board.c
samsung: common: do not reset if cros-ec uclass is missing
authorHenrik Grimler <[email protected]>
Tue, 9 May 2023 19:05:47 +0000 (21:05 +0200)
committerTom Rini <[email protected]>
Mon, 15 May 2023 21:14:46 +0000 (17:14 -0400)
commitc9901bd2adad104adb132bdcc92fe2e86b4bcaa0
treecad0bb2f6f0fb7ee96f761f57135019b179fdcc3
parent7d01ee9d19db9670486ffc427c67855420ed8c94
samsung: common: do not reset if cros-ec uclass is missing

Otherwise non-ChromeOS samsung devices, like the odroid boards, are
stuck in a bootloop if CONFIG_CROS_EC is not enabled:

    <...>
    MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    cros-ec communications failure -96

    Please reset with Power+Refresh

    Cannot init cros-ec device
    resetting ...

Issue started after commit e44d7e73fe0d ("dm: core: Switch
uclass_*_device_err to use uclass_*_device_check").

Signed-off-by: Henrik Grimler <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Minkyu Kang <[email protected]>
board/samsung/common/board.c
This page took 0.034769 seconds and 4 git commands to generate.