From 1765fd2ea739e86bb602a6447ebc5ec14a85ad3a Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 9 Nov 2014 16:33:25 +0100 Subject: [PATCH] sb700: Make get_sbdn into normal function Change-Id: If665c18c2866290e2cf4a38cc7baadb0f8f3f6b8 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/7377 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/southbridge/amd/sb700/early_setup.c | 2 +- src/southbridge/amd/sb700/sb700.h | 2 +- 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 */