]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: spi: Permit setting bus frequency
authorMarek Vasut <marex@denx.de>
Fri, 20 Dec 2019 11:44:57 +0000 (12:44 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 27 Jan 2020 16:57:21 +0000 (22:27 +0530)
commit6954756a1567bd4dc36081651c266dbcf9ad4ef5
treebfd1b1dc9b1f728f2c5ff588e7049d2b474e86bd
parentbfcd9298b29c16fdada9d8e772dd9aaff7760f43
cmd: spi: Permit setting bus frequency

The 'sspi' command hard-coded 1 MHz bus frequency for all transmissions.
Allow changing that at runtime by specifying '@freq' bus frequency in Hz.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
cmd/spi.c