]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: kirkwood: prevent limiting speed to 0
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Fri, 30 Apr 2021 13:26:31 +0000 (15:26 +0200)
committerStefan Roese <sr@denx.de>
Sun, 16 May 2021 04:48:45 +0000 (06:48 +0200)
commit9c84159ce1c7c6410640de66f0d5e52af09a115e
treeb18323dcd5360590fbdb458b2c0a6ca74eb8bf5f
parent562f8d5b36e4d35365aa9a545e4d11b5c2557ec1
spi: kirkwood: prevent limiting speed to 0

After commit 1fe929ed497bcc8975be8d37383ebafd22b99dd2
("spi: kirkwood: prevent configuring speed exceeding max controller freq")
the spi frequency could be set to 0 on platform where spi-max-frequency
is not defined (e.g. on armada-388-gp). Prevent limiting speed in
mentioned cases.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Tested-by: Kostya Porotchkin <kostap@marvell.com>
Reviewed-by: Marcin Wojtas <marcin@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/spi/kirkwood_spi.c