[U-Boot] [PATCH] common: Drop LOGLEVEL to 4

Tom Rini trini at konsulko.com
Thu Oct 5 12:26:16 UTC 2017


While this came in with a default value of 6 I am lowering this to 4.
The MTD/UBI code has a large number of error messages that we include
now.  In addition, "normally" warning messages are not included so this
feels like a more natural level to have.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 common/Kconfig                  | 2 +-
 configs/axm_defconfig           | 1 -
 configs/corvus_defconfig        | 1 -
 configs/omapl138_lcdk_defconfig | 1 -
 configs/taurus_defconfig        | 1 -
 5 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index f53ee9d6d790..3c99650f0c9e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -243,7 +243,7 @@ config IDENT_STRING
 
 config LOGLEVEL
 	int "loglevel"
-	default 6
+	default 4
 	range 0 8
 	help
 	  All Messages with a loglevel smaller than the console loglevel will
diff --git a/configs/axm_defconfig b/configs/axm_defconfig
index cd89c2a235ff..81654b230431 100644
--- a/configs/axm_defconfig
+++ b/configs/axm_defconfig
@@ -41,4 +41,3 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
 CONFIG_USE_TINY_PRINTF=y
-CONFIG_LOGLEVEL=4
diff --git a/configs/corvus_defconfig b/configs/corvus_defconfig
index 059cb5992e92..705e00145700 100644
--- a/configs/corvus_defconfig
+++ b/configs/corvus_defconfig
@@ -14,7 +14,6 @@ CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,MACH_TYPE=2066,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2"
-CONFIG_LOGLEVEL=4
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 3e9eb4fa84e2..c95134bcf990 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -8,7 +8,6 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_BOOTDELAY=3
-CONFIG_LOGLEVEL=4
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig
index 5b7fc8ae1466..71a382a3e132 100644
--- a/configs/taurus_defconfig
+++ b/configs/taurus_defconfig
@@ -16,7 +16,6 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="at91sam9g20-taurus"
 CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9G20,MACH_TYPE=2067,BOARD_TAURUS"
 CONFIG_BOOTDELAY=3
-CONFIG_LOGLEVEL=4
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) root=/dev/mtdblock7 rw rootfstype=jffs2"
 # CONFIG_DISPLAY_BOARDINFO is not set
-- 
2.7.4



More information about the U-Boot mailing list