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>
This commit is contained in:
Vladimir Serbinenko 2014-11-09 16:33:25 +01:00
parent d6b452f181
commit 1765fd2ea7
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ void sb7xx_51xx_disable_wideio(u8 wio_index)
} }
/* what is its usage? */ /* what is its usage? */
u32 __attribute__ ((weak)) get_sbdn(u32 bus) u32 get_sbdn(u32 bus)
{ {
device_t dev; device_t dev;

View File

@ -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_save_nvram_early(u32 dword, int size, int nvram_pos);
int s3_load_nvram_early(int size, u32 *old_dword, 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); void __attribute__((weak)) enable_fid_change_on_sb(u32 sbbusn, u32 sbdn);
#endif /* SB700_H */ #endif /* SB700_H */