summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-11-09 16:33:25 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-11-16 11:29:08 +0100
commit1765fd2ea739e86bb602a6447ebc5ec14a85ad3a (patch)
tree16b43ebb0d9f3afa64bb3d08e35b9af7fc39c584 /src/southbridge
parentd6b452f1814420783585b516b377c6edd4fac5e7 (diff)
downloadcoreboot-1765fd2ea739e86bb602a6447ebc5ec14a85ad3a.tar.xz
sb700: Make get_sbdn into normal function
Change-Id: If665c18c2866290e2cf4a38cc7baadb0f8f3f6b8 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7377 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/sb700/early_setup.c2
-rw-r--r--src/southbridge/amd/sb700/sb700.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb700/early_setup.c b/src/southbridge/amd/sb700/early_setup.c
index b7a5e7786a..91a2299a92 100644
--- a/src/southbridge/amd/sb700/early_setup.c
+++ b/src/southbridge/amd/sb700/early_setup.c
@@ -219,7 +219,7 @@ void sb7xx_51xx_disable_wideio(u8 wio_index)
}
/* what is its usage? */
-u32 __attribute__ ((weak)) get_sbdn(u32 bus)
+u32 get_sbdn(u32 bus)
{
device_t dev;
diff --git a/src/southbridge/amd/sb700/sb700.h b/src/southbridge/amd/sb700/sb700.h
index 2cbfdc9381..71eb43aef3 100644
--- a/src/southbridge/amd/sb700/sb700.h
+++ b/src/southbridge/amd/sb700/sb700.h
@@ -78,6 +78,6 @@ void sb7xx_51xx_setup_sata_phys(struct device *dev);
int s3_save_nvram_early(u32 dword, int size, int nvram_pos);
int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos);
-u32 __attribute__ ((weak)) get_sbdn(u32 bus);
+u32 get_sbdn(u32 bus);
void __attribute__((weak)) enable_fid_change_on_sb(u32 sbbusn, u32 sbdn);
#endif /* SB700_H */