km/spi: add weak functions to kirkwood_spi driver (DM part)
authorPascal Linder <pascal.linder@edu.hefr.ch>
Tue, 18 Jun 2019 06:41:01 +0000 (08:41 +0200)
committerStefan Roese <sr@denx.de>
Thu, 11 Jul 2019 08:58:03 +0000 (10:58 +0200)
commitf1696534838e45623c276658b4b7c9331181d60c
tree599d0eb11695d59f76275647da72a5b1e621bfcf
parentc0fed3ac2568027c99ec79c32530b6f47a2c5136
km/spi: add weak functions to kirkwood_spi driver (DM part)

The weak functions, known from the legacy code, are added to the DM part
as well. For this purpose, the release operation first needs to be
implemented. KM Kirkwood boards will overwrite those weak functions to
change the MPP configuration when claiming/releasing the bus, because the
hardware pins are shared between the SPI NOR and NAND devices.

Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch>
Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/spi/kirkwood_spi.c