[coreboot-gerrit] Change in coreboot[master]: drivers/spi/spi-generic: Make spi_setup_slave strong symbol
Furquan Shaikh (Code Review)
gerrit at coreboot.org
Fri May 19 01:03:37 CEST 2017
Furquan Shaikh has uploaded a new change for review. ( https://review.coreboot.org/19781 )
Change subject: drivers/spi/spi-generic: Make spi_setup_slave strong symbol
......................................................................
drivers/spi/spi-generic: Make spi_setup_slave strong symbol
Now that all platforms are updated to provide spi bus map, there is no
need to keep the spi_setup_slave as a weak symbol.
BUG=b:38430839
Change-Id: I59b9bbb5303dad7ce062958a0ab8dee49a4ec1e0
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
M src/drivers/spi/spi-generic.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/19781/1
diff --git a/src/drivers/spi/spi-generic.c b/src/drivers/spi/spi-generic.c
index 579ceb1..252f371 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -115,8 +115,7 @@
const struct spi_ctrlr_buses spi_ctrlr_bus_map[0] __attribute__((weak));
const size_t spi_ctrlr_bus_map_count __attribute__((weak));
-int __attribute__((weak)) spi_setup_slave(unsigned int bus, unsigned int cs,
- struct spi_slave *slave)
+int spi_setup_slave(unsigned int bus, unsigned int cs, struct spi_slave *slave)
{
size_t i;
--
To view, visit https://review.coreboot.org/19781
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59b9bbb5303dad7ce062958a0ab8dee49a4ec1e0
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
More information about the coreboot-gerrit
mailing list