summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-12-01 18:19:42 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-12-01 18:19:42 +0000
commiteb097aad6aa31abe1a340aae2b80d4819aab39a6 (patch)
treeaf4b70f2be57c73883744537b93144e7f5c9aef4 /util
parent0f6ee7b719dd5b8858a22b509009b7a47dff8c0c (diff)
downloadcoreboot-eb097aad6aa31abe1a340aae2b80d4819aab39a6.tar.xz
Eliminate some noise in the output of compareboard on non-K8/Fam10h boards
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4972 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rwxr-xr-xutil/compareboard/compareboard15
1 files changed, 15 insertions, 0 deletions
diff --git a/util/compareboard/compareboard b/util/compareboard/compareboard
index 8023954337..d8f7c02e68 100755
--- a/util/compareboard/compareboard
+++ b/util/compareboard/compareboard
@@ -23,6 +23,21 @@ mkdir -p $A
sort coreboot-builds/$BOARDPATH/fallback/ldoptions > $A/old
sort build/ldoptions > $A/new
+if [ `grep -c "^CONFIG_NORTHBRIDGE_AMD" $A/new` -eq 0 ]; then
+ sed \
+ -e "/^CONFIG_C[BD]B / d" \
+ -e "/^CONFIG_AMDMCT / d" \
+ -e "/^CONFIG_HT3_SUPPORT / d" \
+ -e "/^CONFIG_HT_CHAIN_UNITID_BASE / d" \
+ -e "/^CONFIG_HT_CHAIN_END_UNITID_BASE / d" \
+ -e "/^CONFIG_K8_HT_FREQ_1G_SUPPORT / d" \
+ -e "/^CONFIG_K8_MEM_BANK_B_ONLY / d" \
+ -e "/^CONFIG_MEM_TRAIN_SEQ / d" \
+ -e "/^CONFIG_SB_HT_CHAIN_ON_BUS0 / d" \
+ -e "/^CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY / d" \
+ $A/old > $A/old.tmp && mv $A/old.tmp $A/old
+fi
+
sed \
-e "/^CONFIG_CONSOLE_/ d" \
-e "/^CONFIG_RESET_/ d" \