u-boot-brain/board/CZ.NIC/turris_mox
Marek Behún b80ca8176d arm: mvebu: turris_mox: Fix early SPI communication
The SPI clock signal changes value when the SPI configuration register
is configured. This can sometimes lead to the device misinterpreting
the enablement of the SPI controller as actual clock tick.
This can be solved by first setting the SPI CS1 pin from GPIO to SPI mode,
and only after that writing the SPI configuration register.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
2020-04-14 13:16:42 +02:00
..
MAINTAINERS arm64: mvebu: Add basic support for the Turris Mox board 2018-05-14 10:00:15 +02:00
Makefile arm: mvebu: turris_mox: Read info (and ethaddrs) from OTP 2019-01-21 11:39:50 +01:00
mox_sp.c arm: mvebu: turris_mox: Read info (and ethaddrs) from OTP 2019-01-21 11:39:50 +01:00
mox_sp.h arm: mvebu: turris_mox: Read info (and ethaddrs) from OTP 2019-01-21 11:39:50 +01:00
turris_mox.c arm: mvebu: turris_mox: Fix early SPI communication 2020-04-14 13:16:42 +02:00