[coreboot-gerrit] Change in coreboot[master]: nuke debug_lvl

Arthur Heymans (Code Review) gerrit at coreboot.org
Fri Sep 22 13:53:07 CEST 2017


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/21636


Change subject: nuke debug_lvl
......................................................................

nuke debug_lvl

Change-Id: I386cc72a4836f2539bf08b98795a03f8593f20a0
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/console/init.c
M src/mainboard/apple/macbook21/cmos.default
M src/mainboard/asrock/g41c-gs/cmos.default
M src/mainboard/asus/a8n_e/cmos.default
M src/mainboard/asus/m4a785t-m/cmos.default
M src/mainboard/asus/p5gc-mx/cmos.default
M src/mainboard/bachmann/ot200/cmos.default
M src/mainboard/foxconn/g41s-k/cmos.default
M src/mainboard/gigabyte/ga-945gcm-s2l/cmos.default
M src/mainboard/gigabyte/ga-b75m-d3h/cmos.default
M src/mainboard/gigabyte/ga-b75m-d3v/cmos.default
M src/mainboard/gigabyte/ga-g41m-es2l/cmos.default
M src/mainboard/intel/d510mo/cmos.default
M src/mainboard/intel/d945gclf/cmos.default
M src/mainboard/intel/dg43gt/cmos.default
M src/mainboard/intel/dg43gt/cmos.layout
M src/mainboard/lenovo/l520/cmos.default
M src/mainboard/lenovo/t400/cmos.default
M src/mainboard/lenovo/t420/cmos.default
M src/mainboard/lenovo/t420s/cmos.default
M src/mainboard/lenovo/t430/cmos.default
M src/mainboard/lenovo/t430s/cmos.default
M src/mainboard/lenovo/t520/cmos.default
M src/mainboard/lenovo/t530/cmos.default
M src/mainboard/lenovo/t60/cmos.default
M src/mainboard/lenovo/x1_carbon_gen1/cmos.default
M src/mainboard/lenovo/x200/cmos.default
M src/mainboard/lenovo/x201/cmos.default
M src/mainboard/lenovo/x220/cmos.default
M src/mainboard/lenovo/x230/cmos.default
M src/mainboard/lenovo/x60/cmos.default
M src/mainboard/packardbell/ms2290/cmos.default
M src/mainboard/pcengines/alix1c/cmos.default
M src/mainboard/pcengines/apu1/cmos.default
M src/mainboard/sapphire/pureplatinumh61/cmos.default
M src/mainboard/siemens/sitemp_g1p1/cmos.default
36 files changed, 1 insertion(+), 53 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/21636/1

diff --git a/src/console/init.c b/src/console/init.c
index c1565a4..3f73a1b 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -51,8 +51,6 @@
 {
 	int debug_level = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
 
-	get_option(&debug_level, "debug_level");
-
 	set_log_level(debug_level);
 }
 
diff --git a/src/mainboard/apple/macbook21/cmos.default b/src/mainboard/apple/macbook21/cmos.default
index dafd474..2e36f7a 100644
--- a/src/mainboard/apple/macbook21/cmos.default
+++ b/src/mainboard/apple/macbook21/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/asrock/g41c-gs/cmos.default b/src/mainboard/asrock/g41c-gs/cmos.default
index 1519fe1..ce9be17 100644
--- a/src/mainboard/asrock/g41c-gs/cmos.default
+++ b/src/mainboard/asrock/g41c-gs/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 gfx_uma_size=64M
diff --git a/src/mainboard/asus/a8n_e/cmos.default b/src/mainboard/asus/a8n_e/cmos.default
index 84dd027..681776c 100644
--- a/src/mainboard/asus/a8n_e/cmos.default
+++ b/src/mainboard/asus/a8n_e/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Enable
 ECC_memory=Disable
 hw_scrubber=Enable
diff --git a/src/mainboard/asus/m4a785t-m/cmos.default b/src/mainboard/asus/m4a785t-m/cmos.default
index 4c2e807..49e88f0 100644
--- a/src/mainboard/asus/m4a785t-m/cmos.default
+++ b/src/mainboard/asus/m4a785t-m/cmos.default
@@ -5,7 +5,6 @@
 max_mem_clock=400Mhz
 multi_core=Enable
 power_on_after_fail=Disable
-debug_level=Spew
 slow_cpu=off
 nmi=Enable
 gart=Enable
diff --git a/src/mainboard/asus/p5gc-mx/cmos.default b/src/mainboard/asus/p5gc-mx/cmos.default
index d269afc..109ea65 100644
--- a/src/mainboard/asus/p5gc-mx/cmos.default
+++ b/src/mainboard/asus/p5gc-mx/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/bachmann/ot200/cmos.default b/src/mainboard/bachmann/ot200/cmos.default
index 3e6d135..343d73c 100644
--- a/src/mainboard/bachmann/ot200/cmos.default
+++ b/src/mainboard/bachmann/ot200/cmos.default
@@ -1,2 +1 @@
 boot_option=Fallback
-debug_level=Spew
diff --git a/src/mainboard/foxconn/g41s-k/cmos.default b/src/mainboard/foxconn/g41s-k/cmos.default
index 1519fe1..ce9be17 100644
--- a/src/mainboard/foxconn/g41s-k/cmos.default
+++ b/src/mainboard/foxconn/g41s-k/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 gfx_uma_size=64M
diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/cmos.default b/src/mainboard/gigabyte/ga-945gcm-s2l/cmos.default
index d269afc..109ea65 100644
--- a/src/mainboard/gigabyte/ga-945gcm-s2l/cmos.default
+++ b/src/mainboard/gigabyte/ga-945gcm-s2l/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/cmos.default b/src/mainboard/gigabyte/ga-b75m-d3h/cmos.default
index a313f68..0d425e4 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/cmos.default
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Enable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/cmos.default b/src/mainboard/gigabyte/ga-b75m-d3v/cmos.default
index a313f68..0d425e4 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/cmos.default
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Enable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/cmos.default b/src/mainboard/gigabyte/ga-g41m-es2l/cmos.default
index 8d844bd..9c5ed35 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/cmos.default
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Enable
 nmi=Enable
 gfx_uma_size=64M
diff --git a/src/mainboard/intel/d510mo/cmos.default b/src/mainboard/intel/d510mo/cmos.default
index 2b09000..f923bc2 100644
--- a/src/mainboard/intel/d510mo/cmos.default
+++ b/src/mainboard/intel/d510mo/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 gfx_uma_size=8M
diff --git a/src/mainboard/intel/d945gclf/cmos.default b/src/mainboard/intel/d945gclf/cmos.default
index d269afc..109ea65 100644
--- a/src/mainboard/intel/d945gclf/cmos.default
+++ b/src/mainboard/intel/d945gclf/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/intel/dg43gt/cmos.default b/src/mainboard/intel/dg43gt/cmos.default
index 0229e66..954b569 100644
--- a/src/mainboard/intel/dg43gt/cmos.default
+++ b/src/mainboard/intel/dg43gt/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 sata_mode=AHCI
diff --git a/src/mainboard/intel/dg43gt/cmos.layout b/src/mainboard/intel/dg43gt/cmos.layout
index f5f3d3e..566fbbb 100644
--- a/src/mainboard/intel/dg43gt/cmos.layout
+++ b/src/mainboard/intel/dg43gt/cmos.layout
@@ -48,8 +48,7 @@
 
 # -----------------------------------------------------------------
 # coreboot config options: console
-395          4       e       6        debug_level
-#399          1       r       0        unused
+#395          5       e                unused
 
 # coreboot config options: southbridge
 408         1       e       10        sata_mode
@@ -73,21 +72,6 @@
 enumerations
 
 #ID value   text
-1     0     Disable
-1     1     Enable
-2     0     Enable
-2     1     Disable
-4     0     Fallback
-4     1     Normal
-6     1     Emergency
-6     2     Alert
-6     3     Critical
-6     4     Error
-6     5     Warning
-6     6     Notice
-6     7     Info
-6     8     Debug
-6     9     Spew
 7     0     Disable
 7     1     Enable
 7     2     Keep
diff --git a/src/mainboard/lenovo/l520/cmos.default b/src/mainboard/lenovo/l520/cmos.default
index 035fd94..efc5c43 100644
--- a/src/mainboard/lenovo/l520/cmos.default
+++ b/src/mainboard/lenovo/l520/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t400/cmos.default b/src/mainboard/lenovo/t400/cmos.default
index 05c56d9..ce46b2b 100644
--- a/src/mainboard/lenovo/t400/cmos.default
+++ b/src/mainboard/lenovo/t400/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 volume=0x3
 first_battery=Primary
diff --git a/src/mainboard/lenovo/t420/cmos.default b/src/mainboard/lenovo/t420/cmos.default
index 3fae7c0..13e28d1 100644
--- a/src/mainboard/lenovo/t420/cmos.default
+++ b/src/mainboard/lenovo/t420/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t420s/cmos.default b/src/mainboard/lenovo/t420s/cmos.default
index 3fae7c0..13e28d1 100644
--- a/src/mainboard/lenovo/t420s/cmos.default
+++ b/src/mainboard/lenovo/t420s/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t430/cmos.default b/src/mainboard/lenovo/t430/cmos.default
index 60d9d5e..9407a22 100644
--- a/src/mainboard/lenovo/t430/cmos.default
+++ b/src/mainboard/lenovo/t430/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t430s/cmos.default b/src/mainboard/lenovo/t430s/cmos.default
index 035fd94..efc5c43 100644
--- a/src/mainboard/lenovo/t430s/cmos.default
+++ b/src/mainboard/lenovo/t430s/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t520/cmos.default b/src/mainboard/lenovo/t520/cmos.default
index 76852cf..1523c41 100644
--- a/src/mainboard/lenovo/t520/cmos.default
+++ b/src/mainboard/lenovo/t520/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t530/cmos.default b/src/mainboard/lenovo/t530/cmos.default
index 76852cf..1523c41 100644
--- a/src/mainboard/lenovo/t530/cmos.default
+++ b/src/mainboard/lenovo/t530/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/t60/cmos.default b/src/mainboard/lenovo/t60/cmos.default
index 46a2831..a3ac6a8 100644
--- a/src/mainboard/lenovo/t60/cmos.default
+++ b/src/mainboard/lenovo/t60/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/cmos.default b/src/mainboard/lenovo/x1_carbon_gen1/cmos.default
index 02f7c74..4a6ced1 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/cmos.default
+++ b/src/mainboard/lenovo/x1_carbon_gen1/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/x200/cmos.default b/src/mainboard/lenovo/x200/cmos.default
index a4555c2..9caef8a 100644
--- a/src/mainboard/lenovo/x200/cmos.default
+++ b/src/mainboard/lenovo/x200/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 volume=0x3
 first_battery=Primary
diff --git a/src/mainboard/lenovo/x201/cmos.default b/src/mainboard/lenovo/x201/cmos.default
index df8e880..ef7b41a 100644
--- a/src/mainboard/lenovo/x201/cmos.default
+++ b/src/mainboard/lenovo/x201/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/x220/cmos.default b/src/mainboard/lenovo/x220/cmos.default
index 08c754b..ed72e3d 100644
--- a/src/mainboard/lenovo/x220/cmos.default
+++ b/src/mainboard/lenovo/x220/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/x230/cmos.default b/src/mainboard/lenovo/x230/cmos.default
index 035fd94..efc5c43 100644
--- a/src/mainboard/lenovo/x230/cmos.default
+++ b/src/mainboard/lenovo/x230/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/lenovo/x60/cmos.default b/src/mainboard/lenovo/x60/cmos.default
index 3a0c94c..bc4485b 100644
--- a/src/mainboard/lenovo/x60/cmos.default
+++ b/src/mainboard/lenovo/x60/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 hyper_threading=Enable
 nmi=Enable
 boot_devices=''
diff --git a/src/mainboard/packardbell/ms2290/cmos.default b/src/mainboard/packardbell/ms2290/cmos.default
index ccdb7c8..cb4a2a0 100644
--- a/src/mainboard/packardbell/ms2290/cmos.default
+++ b/src/mainboard/packardbell/ms2290/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Disable
 nmi=Enable
 sata_mode=AHCI
diff --git a/src/mainboard/pcengines/alix1c/cmos.default b/src/mainboard/pcengines/alix1c/cmos.default
index 6cbaa7c..0010550 100644
--- a/src/mainboard/pcengines/alix1c/cmos.default
+++ b/src/mainboard/pcengines/alix1c/cmos.default
@@ -1,4 +1,3 @@
 boot_option=Fallback
 ECC_memory=Disable
 power_on_after_fail=Disable
-debug_level=Spew
diff --git a/src/mainboard/pcengines/apu1/cmos.default b/src/mainboard/pcengines/apu1/cmos.default
index 57a2a8c..32d9125 100644
--- a/src/mainboard/pcengines/apu1/cmos.default
+++ b/src/mainboard/pcengines/apu1/cmos.default
@@ -1,3 +1,2 @@
 boot_option=Fallback
 multi_core=Enable
-debug_level=Spew
diff --git a/src/mainboard/sapphire/pureplatinumh61/cmos.default b/src/mainboard/sapphire/pureplatinumh61/cmos.default
index a313f68..0d425e4 100644
--- a/src/mainboard/sapphire/pureplatinumh61/cmos.default
+++ b/src/mainboard/sapphire/pureplatinumh61/cmos.default
@@ -1,5 +1,4 @@
 boot_option=Fallback
-debug_level=Spew
 power_on_after_fail=Enable
 nmi=Enable
 volume=0x3
diff --git a/src/mainboard/siemens/sitemp_g1p1/cmos.default b/src/mainboard/siemens/sitemp_g1p1/cmos.default
index 3440a20..d165b67 100644
--- a/src/mainboard/siemens/sitemp_g1p1/cmos.default
+++ b/src/mainboard/siemens/sitemp_g1p1/cmos.default
@@ -1,6 +1,5 @@
 boot_option=Fallback
 cmos_defaults_loaded=Yes
-debug_level=Spew
 power_on_after_fail=Enable
 nmi=Enable
 sata_mode=AHCI

-- 
To view, visit https://review.coreboot.org/21636
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I386cc72a4836f2539bf08b98795a03f8593f20a0
Gerrit-Change-Number: 21636
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170922/a56dd1fe/attachment-0001.html>


More information about the coreboot-gerrit mailing list