diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-06-04 05:53:04 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-06-07 22:49:37 +0200 |
commit | 2dafd897692a257b3727723601ac68f902e746f2 (patch) | |
tree | 803b1e41431de0f5b5ad8fb87078348f76664596 /src/southbridge | |
parent | 5677e7da4b272608091a6bbce3c4584fb49da9f3 (diff) |
spi: Remove unused/unnecessary spi_init function definitions
Remove spi_init definitions which:
1. Do nothing
2. Set static global variables to 0
Change-Id: If4c0cdbe2271fc7561becd87ad3b96bd45e77430
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/20039
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/sb700/spi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/southbridge/amd/sb700/spi.c b/src/southbridge/amd/sb700/spi.c index df44c0475d..caddfc88c0 100644 --- a/src/southbridge/amd/sb700/spi.c +++ b/src/southbridge/amd/sb700/spi.c @@ -35,11 +35,6 @@ static uint32_t get_spi_bar(void) return pci_read_config32(dev, 0xa0) & ~0x1f; } -void spi_init(void) -{ - /* Not needed */ -} - static void reset_internal_fifo_pointer(void) { uint32_t spibar = get_spi_bar(); |