aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-11-26 14:57:14 +0100
committerStefan Roese <sr@denx.de>2021-12-19 09:50:47 +0100
commit08370038df6c92a1bfe1aede55545a505e268305 (patch)
treef0d820e89563213dca8f4039a69fa918161e6ddb /common
parentd368e10705146b7ca61a712b202045013493e1b2 (diff)
downloadu-boot-08370038df6c92a1bfe1aede55545a505e268305.zip
u-boot-08370038df6c92a1bfe1aede55545a505e268305.tar.gz
u-boot-08370038df6c92a1bfe1aede55545a505e268305.tar.bz2
arm: mvebu: turris_mox: Fix unstable board topology reading
The pre-relocation board topology reading in board_fix_fdt() is unstable: sometimes wrong data are read from the SPI bus. This is due to wrong order of SPI bus configuration instructions: we first need to set the pins to SPI mode, and only after that configure the bus. Also add a 1ms delay before enabling chip-select, so that the clock pin is high for some time before reading the bus. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions