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>
This commit is contained in:
parent
b0b1aedc3c
commit
8a878208bd
|
@ -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] = {
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue