[coreboot-gerrit] Patch set updated for coreboot: 45a2182 AMD K8 fam10: Always have SB_HT_CHAIN_ON_BUS0
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Sat Mar 28 00:56:15 CET 2015
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8561
-gerrit
commit 45a2182e5ed43ad2ae69927827450e28667644d5
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Thu Feb 5 15:43:23 2015 +0200
AMD K8 fam10: Always have SB_HT_CHAIN_ON_BUS0
Change-Id: I65fad1cfba95f0ee1ed3f7f7a57d874144da1e40
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
src/northbridge/amd/amdfam10/Kconfig | 3 ---
src/northbridge/amd/amdfam10/northbridge.c | 5 +----
src/northbridge/amd/amdk8/Kconfig | 3 ---
src/northbridge/amd/amdk8/northbridge.c | 5 +----
4 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/src/northbridge/amd/amdfam10/Kconfig b/src/northbridge/amd/amdfam10/Kconfig
index 5f6fdec..900d81b 100644
--- a/src/northbridge/amd/amdfam10/Kconfig
+++ b/src/northbridge/amd/amdfam10/Kconfig
@@ -65,9 +65,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
bool
default n
-config SB_HT_CHAIN_ON_BUS0
- def_bool y
-
config HT_CHAIN_DISTRIBUTE
def_bool n
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index 5990949..dddc048 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -197,7 +197,7 @@ static u32 amdfam10_scan_chain(device_t dev, u32 nodeid, struct bus *link, bool
* so we set the subordinate bus number to 0xff for the moment.
*/
- if (!CONFIG_SB_HT_CHAIN_ON_BUS0 || !is_sblink)
+ if (!is_sblink)
max++;
/* One node can have 8 link and segn is the same. */
@@ -259,9 +259,6 @@ static void relocate_sb_ht_chain(void)
struct bus *link, *prev = NULL;
u8 sblink;
- if (!CONFIG_SB_HT_CHAIN_ON_BUS0)
- return;
-
dev = dev_find_slot(CONFIG_CBB, PCI_DEVFN(CONFIG_CDB, 0));
sblink = (pci_read_config32(dev, 0x64)>>8) & 7;
link = dev->link_list;
diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig
index fd11105..6096ab5 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -65,9 +65,6 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
bool
default n
-config SB_HT_CHAIN_ON_BUS0
- def_bool y
-
config HT_CHAIN_DISTRIBUTE
def_bool n
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c
index b1c62cd..282993e 100644
--- a/src/northbridge/amd/amdk8/northbridge.c
+++ b/src/northbridge/amd/amdk8/northbridge.c
@@ -163,7 +163,7 @@ static u32 amdk8_scan_chain(device_t dev, u32 nodeid, struct bus *link, bool is_
* so we set the subordinate bus number to 0xff for the moment.
*/
- if (!CONFIG_SB_HT_CHAIN_ON_BUS0 || !is_sblink)
+ if (!is_sblink)
max++;
/* Second chain will be on 0x40, third 0x80, forth 0xc0. */
@@ -232,9 +232,6 @@ static void relocate_sb_ht_chain(void)
struct bus *link, *prev = NULL;
u8 sblink;
- if (!CONFIG_SB_HT_CHAIN_ON_BUS0)
- return;
-
dev = dev_find_slot(CONFIG_CBB, PCI_DEVFN(CONFIG_CDB, 0));
sblink = (pci_read_config32(dev, 0x64)>>8) & 3;
link = dev->link_list;
More information about the coreboot-gerrit
mailing list