summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2019-02-19 17:04:27 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-02-26 20:50:59 +0000
commit3986d39471fd0b7dca0c53a48ac6697afd779819 (patch)
tree1ee05976bea97e33788d6b4f267d9b934c36792a
parenta86e401c0ee0ee9440788913bf299410df92f9ef (diff)
downloadcoreboot-3986d39471fd0b7dca0c53a48ac6697afd779819.tar.xz
soc/amd: Remove defined but unwritten functions
There are functions defined on headers with no code written for. They probably existed earlier, were removed and forgot in the headers. Remove functions from headers if there's no actual code written for. BUG=b:123564495 TEST=Build grunt. Change-Id: Ia6a12e22a0944351c455dc2c3b534f09a258bd7b Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/c/31507 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
-rw-r--r--src/soc/amd/stoneyridge/include/soc/northbridge.h2
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/northbridge.h b/src/soc/amd/stoneyridge/include/soc/northbridge.h
index d62c791b09..3b604009b9 100644
--- a/src/soc/amd/stoneyridge/include/soc/northbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/northbridge.h
@@ -121,10 +121,8 @@ void smm_region_info(void **start, size_t *size);
*/
int smm_subregion(int sub, void **start, size_t *size);
void domain_enable_resources(struct device *dev);
-void domain_read_resources(struct device *dev);
void domain_set_resources(struct device *dev);
void fam15_finalize(void *chip_info);
-void setup_uma_memory(void);
uint32_t nb_ioapic_read(unsigned int index);
void nb_ioapic_write(unsigned int index, uint32_t value);
void *get_ap_entry_ptr(void);
diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index 705fe7a533..4d1448c400 100644
--- a/src/soc/amd/stoneyridge/include/soc/southbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h
@@ -477,7 +477,6 @@ struct soc_power_reg {
void enable_aoac_devices(void);
void sb_enable_rom(void);
-void configure_stoneyridge_i2c(void);
void sb_clk_output_48Mhz(u32 osc);
void sb_disable_4dw_burst(void);
void sb_enable(struct device *dev);