Furquan Shaikh has uploaded a new change for review. ( https://review.coreboot.org/19775 )
Change subject: soc/marvell/bg4cd: Get rid of spi.c ......................................................................
soc/marvell/bg4cd: Get rid of spi.c
spi driver in marvell bg4cd is dummy. Get rid of this driver.
BUG=b:38430839
Change-Id: I53f0782fc8bd75ec569b74e4b199df5af481443d Signed-off-by: Furquan Shaikh furquan@chromium.org --- M src/soc/marvell/bg4cd/Makefile.inc D src/soc/marvell/bg4cd/spi.c 2 files changed, 0 insertions(+), 25 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/19775/1
diff --git a/src/soc/marvell/bg4cd/Makefile.inc b/src/soc/marvell/bg4cd/Makefile.inc index 86aa764..2b5f940 100644 --- a/src/soc/marvell/bg4cd/Makefile.inc +++ b/src/soc/marvell/bg4cd/Makefile.inc @@ -21,23 +21,19 @@ bootblock-y += cbmem.c bootblock-y += i2c.c bootblock-y += monotonic_timer.c -bootblock-$(CONFIG_SPI_FLASH) += spi.c
verstage-y += i2c.c verstage-y += monotonic_timer.c -verstage-$(CONFIG_SPI_FLASH) += spi.c
romstage-y += romstage.S romstage-y += cbmem.c romstage-y += i2c.c romstage-y += monotonic_timer.c romstage-y += sdram.c -romstage-$(CONFIG_SPI_FLASH) += spi.c
ramstage-y += cbmem.c ramstage-y += i2c.c ramstage-y += monotonic_timer.c -ramstage-$(CONFIG_SPI_FLASH) += spi.c
CPPFLAGS_common += -Isrc/soc/marvell/bg4cd/include/
diff --git a/src/soc/marvell/bg4cd/spi.c b/src/soc/marvell/bg4cd/spi.c deleted file mode 100644 index 188a6bd..0000000 --- a/src/soc/marvell/bg4cd/spi.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file is part of the coreboot project. - * Copyright 2014 Google Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#include <stddef.h> -#include <spi-generic.h> - -int spi_setup_slave(unsigned int bus, unsigned int cs, struct spi_slave *slave) -{ - return -1; -}