[PATCH] odroid: add CROS_EC to odroid_defconfig

Peter Robinson pbrobinson at gmail.com
Mon Jan 23 09:33:15 CET 2023


On Fri, Jan 20, 2023 at 11:17 PM Joost van Zwieten <joost at diskos.nl> wrote:
>
> As of commit e44d7e73fe ("dm: core: Switch uclass_*_device_err to use
> uclass_*_device_check") U-Boot built with `odroid_defconfig` fails to
> initialize on an Odroid U2: `board_late_init()`
> (board/samsung/common/board.c)
> returns with an error due to the absence of the CROS_EC uclass, and the
> board
> resets. This patch adds `CROS_EC` to the defconfig, leading to a
> succcessful
> initialization of U-Boot.

This doesn't seem to be the right fix to the problem, why would an
odroid device have a need for a driver for the ChromeOS Embedded
Controller?

> Signed-off-by: Joost van Zwieten <joost at diskos.nl>
> ---
>  configs/odroid_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
> index 6e1c29b355..b1ccabd0d2 100644
> --- a/configs/odroid_defconfig
> +++ b/configs/odroid_defconfig
> @@ -55,6 +55,7 @@ CONFIG_DFU_MMC=y
>  CONFIG_SET_DFU_ALT_INFO=y
>  CONFIG_SYS_DFU_DATA_BUF_SIZE=0x2000000
>  CONFIG_SYS_I2C_S3C24X0=y
> +CONFIG_CROS_EC=y
>  CONFIG_MMC_DW=y
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_SDMA=y
> --
> 2.30.2
>
>
>
>
>


More information about the U-Boot mailing list