summaryrefslogtreecommitdiff
path: root/board/keymile
diff options
context:
space:
mode:
authorPascal Linder <pascal.linder@edu.hefr.ch>2019-06-18 08:44:02 +0200
committerStefan Roese <sr@denx.de>2019-07-11 10:58:03 +0200
commitfd9d70d7383d7f3afa54af4308c78ce1c99dbddb (patch)
tree92874df5b9b296c4133c7a0246511d41594807d0 /board/keymile
parentc2cd4ec00c5d837bc4ce13befe43957bc3d132c7 (diff)
km/spi: remove deprecated SPI flash driver code for KM Kirkwood boards
KM Kirkwood boards now implement the driver model for its SPI flash interface. Therefore, the old board specific claim and release functions can be deleted. The preprocessor definition CONFIG_SYS_KW_SPI_MPP is yet unused as well. All its appearances and dependencies are removed in the kirkwood_spi driver, header files and finally the configuration whitelist. 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>
Diffstat (limited to 'board/keymile')
-rw-r--r--board/keymile/km_arm/km_arm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 7087cc520fd..3db80615ef6 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -310,18 +310,6 @@ int board_late_init(void)
return 0;
}
-int board_spi_claim_bus(struct spi_slave *slave)
-{
- kw_gpio_set_value(KM_FLASH_GPIO_PIN, 0);
-
- return 0;
-}
-
-void board_spi_release_bus(struct spi_slave *slave)
-{
- kw_gpio_set_value(KM_FLASH_GPIO_PIN, 1);
-}
-
static const u32 spi_mpp_config[] = {
MPP1_SPI_MOSI,
MPP2_SPI_SCK,