]> git.baikalelectronics.ru Git - uboot.git/commit
DW SPI: Allow to overload the management of the external CS
authorGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 9 Oct 2018 12:14:07 +0000 (14:14 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 19 Dec 2018 14:23:01 +0000 (15:23 +0100)
commitc9ee0a7aacafab2104b1eae7098ac74076f328f5
tree023e1123487d85a7fb2a42d9cc8d861b0c74c93c
parent96cfe572b57e2e2e70316d3004383883c7a21e64
DW SPI: Allow to overload the management of the external CS

On some platforms, as the Ocelot ones, when wanting to control the CS
through software, it is not possible to do it through the GPIO
controller. Indeed, this signal is managed through a dedicated range of
registers inside the SoC..

By declaring the external_cs_manage function as weak, it is possible to
manage the CS at platform level and then using the appropriate registers.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
drivers/spi/designware_spi.c