diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-04-03 15:35:09 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-14 17:20:26 +0200 |
commit | b0161fd2d8679882a50d1f3ce55cdf69278aa32f (patch) | |
tree | 4e1afe4ceae7eec8b832a61fa1de9da079b856ef /src/mainboard/asus | |
parent | 38d1eb44031eb023f00d52481fc77286d28e5157 (diff) | |
download | coreboot-b0161fd2d8679882a50d1f3ce55cdf69278aa32f.tar.xz |
southbridge/via/vt8237r: Get rid of #include early_smbus.c
Use linker instead of '#include *.c'.
The smbus_fixup() was changed not to use a structure that's defined by a
northbridge since multiple different northbridges can be used. Instead
the caller now directly passed the memory slot details.
Change-Id: Ia369ece6365accbc531736fc463c713bbc134807
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-on: https://review.coreboot.org/19082
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/a8v-e_deluxe/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/a8v-e_se/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/k8v-x/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/m2v-mx_se/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/m2v/romstage.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/asus/a8v-e_deluxe/romstage.c b/src/mainboard/asus/a8v-e_deluxe/romstage.c index 4f942b5cc9..c6ea08da26 100644 --- a/src/mainboard/asus/a8v-e_deluxe/romstage.c +++ b/src/mainboard/asus/a8v-e_deluxe/romstage.c @@ -37,7 +37,7 @@ unsigned int get_sbdn(unsigned bus); #include "northbridge/amd/amdk8/early_ht.c" #include <superio/winbond/common/winbond.h> #include <superio/winbond/w83627ehg/w83627ehg.h> -#include "southbridge/via/vt8237r/early_smbus.c" +#include <southbridge/via/vt8237r/vt8237r.h> #include "northbridge/amd/amdk8/debug.c" /* After vt8237r/early_smbus.c! */ #include <cpu/x86/bist.h> #include "northbridge/amd/amdk8/setup_resource_map.c" diff --git a/src/mainboard/asus/a8v-e_se/romstage.c b/src/mainboard/asus/a8v-e_se/romstage.c index 2530aee96e..f2465d03c8 100644 --- a/src/mainboard/asus/a8v-e_se/romstage.c +++ b/src/mainboard/asus/a8v-e_se/romstage.c @@ -37,7 +37,7 @@ unsigned int get_sbdn(unsigned bus); #include "northbridge/amd/amdk8/early_ht.c" #include <superio/winbond/common/winbond.h> #include <superio/winbond/w83627ehg/w83627ehg.h> -#include "southbridge/via/vt8237r/early_smbus.c" +#include <southbridge/via/vt8237r/vt8237r.h> #include "northbridge/amd/amdk8/debug.c" /* After vt8237r/early_smbus.c! */ #include <cpu/x86/bist.h> #include "northbridge/amd/amdk8/setup_resource_map.c" diff --git a/src/mainboard/asus/k8v-x/romstage.c b/src/mainboard/asus/k8v-x/romstage.c index 2f7c3df310..a0565a9ce7 100644 --- a/src/mainboard/asus/k8v-x/romstage.c +++ b/src/mainboard/asus/k8v-x/romstage.c @@ -37,7 +37,7 @@ unsigned int get_sbdn(unsigned bus); #include "northbridge/amd/amdk8/early_ht.c" #include <superio/winbond/common/winbond.h> #include <superio/winbond/w83697hf/w83697hf.h> -#include "southbridge/via/vt8237r/early_smbus.c" +#include <southbridge/via/vt8237r/vt8237r.h> #include "northbridge/amd/amdk8/debug.c" /* After vt8237r/early_smbus.c! */ #include <cpu/x86/bist.h> #include "northbridge/amd/amdk8/setup_resource_map.c" diff --git a/src/mainboard/asus/m2v-mx_se/romstage.c b/src/mainboard/asus/m2v-mx_se/romstage.c index 2efcb6c33a..8aea021081 100644 --- a/src/mainboard/asus/m2v-mx_se/romstage.c +++ b/src/mainboard/asus/m2v-mx_se/romstage.c @@ -37,7 +37,7 @@ unsigned int get_sbdn(unsigned bus); #include "northbridge/amd/amdk8/debug.c" #include <superio/ite/common/ite.h> #include <superio/ite/it8712f/it8712f.h> -#include "southbridge/via/vt8237r/early_smbus.c" +#include <southbridge/via/vt8237r/vt8237r.h> #include <cpu/x86/bist.h> #include "northbridge/amd/amdk8/setup_resource_map.c" #include <spd.h> diff --git a/src/mainboard/asus/m2v/romstage.c b/src/mainboard/asus/m2v/romstage.c index c61557b2dd..e8053424e3 100644 --- a/src/mainboard/asus/m2v/romstage.c +++ b/src/mainboard/asus/m2v/romstage.c @@ -37,7 +37,7 @@ unsigned int get_sbdn(unsigned bus); #include "northbridge/amd/amdk8/debug.c" #include <superio/ite/common/ite.h> #include <superio/ite/it8712f/it8712f.h> -#include "southbridge/via/vt8237r/early_smbus.c" +#include <southbridge/via/vt8237r/vt8237r.h> #include <cpu/x86/bist.h> #include "northbridge/amd/amdk8/setup_resource_map.c" #include <spd.h> |