aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@sancloud.com>2022-11-14 12:42:39 +0000
committerTom Rini <trini@konsulko.com>2022-12-02 08:39:00 -0500
commitf3b9abf5ba019232e38900ec4a241f0ce4630cea (patch)
treeaeb91ecd01156202d71bb588ade63d953ca0aaa3
parent78b9afd2c30dd79655985fd45653a84c253ddf1b (diff)
downloadu-boot-f3b9abf5ba019232e38900ec4a241f0ce4630cea.zip
u-boot-f3b9abf5ba019232e38900ec4a241f0ce4630cea.tar.gz
u-boot-f3b9abf5ba019232e38900ec4a241f0ce4630cea.tar.bz2
am335x-evm: Fix spiboot configuration
The advanced address translation provided by CONFIG_SPL_OF_TRANSLATE is needed to determine the base address of the uart0 peripheral on am335x platforms when CONFIG_SPL_OF_CONTROL is enabled. If CONFIG_SPL_OF_CONTROL is enabled in the base (non-spiboot) am335x_evm_defconfig, then CONFIG_SPL_OF_TRANSLATE will also need to be enabled there. Unfortunately this cannot be done pre-emptively due to the kconfig dependencies. The TI clk-ctrl & TI sysc drivers are also required to bring up the SPI bus on am335x platforms. Signed-off-by: Paul Barker <paul.barker@sancloud.com>
-rw-r--r--configs/am335x_evm_spiboot_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig
index 3d04e6f..2bc911c 100644
--- a/configs/am335x_evm_spiboot_defconfig
+++ b/configs/am335x_evm_spiboot_defconfig
@@ -53,10 +53,14 @@ CONFIG_SPL_ENV_IS_NOWHERE=y
CONFIG_VERSION_VARIABLE=y
CONFIG_NET_RETRY_COUNT=10
CONFIG_BOOTP_SEND_HOSTNAME=y
+CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_SPL_TI_SYSC=y
CONFIG_BOOTCOUNT_LIMIT=y
CONFIG_SYS_BOOTCOUNT_BE=y
CONFIG_CLK=y
+CONFIG_SPL_CLK=y
CONFIG_CLK_CDCE9XX=y
+CONFIG_CLK_TI_CTRL=y
CONFIG_DFU_TFTP=y
CONFIG_DFU_MMC=y
CONFIG_DFU_NAND=y