public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Joost van Zwieten <joost@diskos.nl>
To: u-boot@lists.denx.de
Cc: Simon Glass <sjg@chromium.org>, Minkyu Kang <mk7.kang@samsung.com>
Subject: [PATCH] odroid: add CROS_EC to odroid_defconfig
Date: Sat, 21 Jan 2023 00:16:58 +0100	[thread overview]
Message-ID: <AO4TOR.XOXZ6Q4VAYM81@diskos.nl> (raw)

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.

Signed-off-by: Joost van Zwieten <joost@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






             reply	other threads:[~2023-01-20 23:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 23:16 Joost van Zwieten [this message]
2023-01-23  8:33 ` [PATCH] odroid: add CROS_EC to odroid_defconfig Peter Robinson
2023-01-23  9:39   ` Joost van Zwieten
2023-01-23 18:42     ` Simon Glass
2023-01-24 13:25       ` Joost van Zwieten
2023-01-24 18:38         ` Henrik Grimler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AO4TOR.XOXZ6Q4VAYM81@diskos.nl \
    --to=joost@diskos.nl \
    --cc=mk7.kang@samsung.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox