u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Paul Barker <paul.barker@sancloud.com>
To: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>
Cc: Paul Barker <paul.barker@sancloud.com>
Subject: [PATCH 2/2] configs: am335x_evm: Disable SPL_OF_CONTROL
Date: Sat, 15 Oct 2022 10:19:09 +0100	[thread overview]
Message-ID: <20221015091909.3957290-3-paul.barker@sancloud.com> (raw)
In-Reply-To: <20221015091909.3957290-1-paul.barker@sancloud.com>

When CONFIG_SPL_OF_CONFIG is enabled on the BeagleBone Black and the
SanCloud BBE, initialization of the I2C bus in ti_i2c_eeprom_get()
fails. This prevents us from determining the board variant in
enable_board_pin_mux(). As pinmux settings are not correctly configured
this leads to boot failure.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
---
 configs/am335x_boneblack_vboot_defconfig | 1 -
 configs/am335x_evm_spiboot_defconfig     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index 66b7fb6e06d8..bac0477b1d7c 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -43,7 +43,6 @@ CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_BOOTP_DNS2=y
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig
index 3d04e6fa934a..99df51f0270a 100644
--- a/configs/am335x_evm_spiboot_defconfig
+++ b/configs/am335x_evm_spiboot_defconfig
@@ -42,7 +42,6 @@ CONFIG_BOOTP_DNS2=y
 CONFIG_CMD_MTDPARTS=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
-CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
 CONFIG_ENV_OVERWRITE=y
 # CONFIG_ENV_IS_IN_FAT is not set
-- 
2.25.1


  parent reply	other threads:[~2022-10-15  9:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-15  9:19 [PATCH 0/2] Fixes for SPI boot on SanCloud BBE Lite Paul Barker
2022-10-15  9:19 ` [PATCH 1/2] dm: core: Fix iteration over driver_info records Paul Barker
2022-10-15 17:53   ` Simon Glass
2022-10-25 12:59     ` Paul Barker
2022-10-15  9:19 ` Paul Barker [this message]
2022-10-15 17:53   ` [PATCH 2/2] configs: am335x_evm: Disable SPL_OF_CONTROL Simon Glass

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=20221015091909.3957290-3-paul.barker@sancloud.com \
    --to=paul.barker@sancloud.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;
as well as URLs for NNTP newsgroup(s).