[coreboot-gerrit] Patch set updated for coreboot: ba25e64 amd/sb800: Make sb800_setup_sata_phys into regular function

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Nov 9 20:34:48 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7381

-gerrit

commit ba25e6432719c61793105e814d149b162f1906c4
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Nov 9 20:12:25 2014 +0100

    amd/sb800: Make sb800_setup_sata_phys into regular function
    
    Change-Id: I5fcafb84e42b6bbcae4a37ad6213289a27019197
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/southbridge/amd/sb800/sata.c  | 2 +-
 src/southbridge/amd/sb800/sb800.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/southbridge/amd/sb800/sata.c b/src/southbridge/amd/sb800/sata.c
index 5ac6144..bd35e50 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 25e3f1f..5d299c8 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 */



More information about the coreboot-gerrit mailing list