From 9e7ac6b0345f5c4b3e75a0bdbd0f38444b503fd0 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Thu, 3 Jan 2019 11:38:27 +0200 Subject: amdfam10 boards: Drop AMD_SB_CIMX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copy-paste, boards do not set this. Change-Id: I4c0795a483948b1e357388a5ad639c3f1950bbc8 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30625 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons --- src/mainboard/advansus/a785e-i/get_bus_conf.c | 7 ------- src/mainboard/asus/m5a88-v/get_bus_conf.c | 7 ------- src/mainboard/avalue/eax-785e/get_bus_conf.c | 7 ------- src/northbridge/amd/amdfam10/northbridge.c | 8 -------- src/southbridge/amd/rs780/rs780.c | 2 -- 5 files changed, 31 deletions(-) (limited to 'src') diff --git a/src/mainboard/advansus/a785e-i/get_bus_conf.c b/src/mainboard/advansus/a785e-i/get_bus_conf.c index c390977524..65175f98dc 100644 --- a/src/mainboard/advansus/a785e-i/get_bus_conf.c +++ b/src/mainboard/advansus/a785e-i/get_bus_conf.c @@ -19,9 +19,6 @@ #include #include #include -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) -#include -#endif /* Global variables for MB layouts and these will be shared by irqtable mptable * and acpi_tables busnum is default. @@ -125,8 +122,4 @@ void get_bus_conf(void) else apicid_base = CONFIG_MAX_PHYSICAL_CPUS; apicid_sb800 = apicid_base + 0; - -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) - sb_Late_Post(); -#endif } diff --git a/src/mainboard/asus/m5a88-v/get_bus_conf.c b/src/mainboard/asus/m5a88-v/get_bus_conf.c index 780630568c..92b4084867 100644 --- a/src/mainboard/asus/m5a88-v/get_bus_conf.c +++ b/src/mainboard/asus/m5a88-v/get_bus_conf.c @@ -19,9 +19,6 @@ #include #include #include -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) -#include -#endif /* Global variables for MB layouts and these will be shared by irqtable mptable * and acpi_tables busnum is default. @@ -125,8 +122,4 @@ void get_bus_conf(void) else apicid_base = CONFIG_MAX_PHYSICAL_CPUS; apicid_sb800 = apicid_base + 0; - -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) - sb_Late_Post(); -#endif } diff --git a/src/mainboard/avalue/eax-785e/get_bus_conf.c b/src/mainboard/avalue/eax-785e/get_bus_conf.c index 780630568c..92b4084867 100644 --- a/src/mainboard/avalue/eax-785e/get_bus_conf.c +++ b/src/mainboard/avalue/eax-785e/get_bus_conf.c @@ -19,9 +19,6 @@ #include #include #include -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) -#include -#endif /* Global variables for MB layouts and these will be shared by irqtable mptable * and acpi_tables busnum is default. @@ -125,8 +122,4 @@ void get_bus_conf(void) else apicid_base = CONFIG_MAX_PHYSICAL_CPUS; apicid_sb800 = apicid_base + 0; - -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) - sb_Late_Post(); -#endif } diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c index 4da5228666..245e3abb99 100644 --- a/src/northbridge/amd/amdfam10/northbridge.c +++ b/src/northbridge/amd/amdfam10/northbridge.c @@ -49,10 +49,6 @@ #include #endif -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) -#include -#endif - #if IS_ENABLED(CONFIG_DIMM_DDR3) #include "../amdmct/mct_ddr3/s3utils.h" #endif @@ -1948,10 +1944,6 @@ static void cpu_bus_init(struct device *dev) detect_and_enable_probe_filter(dev); detect_and_enable_cache_partitioning(dev); initialize_cpus(dev->link_list); -#if IS_ENABLED(CONFIG_AMD_SB_CIMX) - sb_After_Pci_Init(); - sb_Mid_Post_Init(); -#endif } static struct device_operations cpu_bus_ops = { diff --git a/src/southbridge/amd/rs780/rs780.c b/src/southbridge/amd/rs780/rs780.c index 36b37ccbe6..a753da77be 100644 --- a/src/southbridge/amd/rs780/rs780.c +++ b/src/southbridge/amd/rs780/rs780.c @@ -349,7 +349,6 @@ void rs780_enable(struct device *dev) } } -#if !IS_ENABLED(CONFIG_AMD_SB_CIMX) unsigned long acpi_fill_mcfg(unsigned long current) { /* FIXME @@ -358,7 +357,6 @@ unsigned long acpi_fill_mcfg(unsigned long current) */ return current; } -#endif struct chip_operations southbridge_amd_rs780_ops = { CHIP_NAME("ATI RS780") -- cgit v1.2.3