diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-11-09 20:12:25 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-11-16 11:29:54 +0100 |
commit | 8a878208bdd54915a86a5372aaae4c9635abccf0 (patch) | |
tree | 57d619ac75a7a2a7c783f541208ce3c042060c1a | |
parent | b0b1aedc3cc56eaffb56bb49e8dcf224d8ccad26 (diff) | |
download | coreboot-8a878208bdd54915a86a5372aaae4c9635abccf0.tar.gz coreboot-8a878208bdd54915a86a5372aaae4c9635abccf0.tar.bz2 coreboot-8a878208bdd54915a86a5372aaae4c9635abccf0.zip |
amd/sb800: Make sb800_setup_sata_phys into regular function
Change-Id: I5fcafb84e42b6bbcae4a37ad6213289a27019197
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/7381
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r-- | src/southbridge/amd/sb800/sata.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/sb800/sb800.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb800/sata.c b/src/southbridge/amd/sb800/sata.c index 5ac61446fa34..bd35e50fe715 100644 --- a/src/southbridge/amd/sb800/sata.c +++ b/src/southbridge/amd/sb800/sata.c @@ -53,7 +53,7 @@ static int sata_drive_detect(int portnum, u16 iobar) return 0; } -void __attribute__((weak)) sb800_setup_sata_phys(struct device *dev) +static void sb800_setup_sata_phys(struct device *dev) { int i; static const u32 sata_phy[][3] = { diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h index 25e3f1ff09e1..5d299c82f972 100644 --- a/src/southbridge/amd/sb800/sb800.h +++ b/src/southbridge/amd/sb800/sb800.h @@ -60,7 +60,6 @@ int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos); #else void sb800_enable(device_t dev); -void __attribute__((weak)) sb800_setup_sata_phys(struct device *dev); #endif #endif /* SB800_H */ |