am335x-evm: Fix spiboot configuration
authorPaul Barker <paul.barker@sancloud.com>
Mon, 14 Nov 2022 12:42:39 +0000 (12:42 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 13:39:00 +0000 (08:39 -0500)
commitf3b9abf5ba019232e38900ec4a241f0ce4630cea
treeaeb91ecd01156202d71bb588ade63d953ca0aaa3
parent78b9afd2c30dd79655985fd45653a84c253ddf1b
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>
configs/am335x_evm_spiboot_defconfig