summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-11-16 14:45:47 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-18 16:53:36 +0000
commit27ec1a5fdf6a3ece0ead8fa4ace031094a725bad (patch)
tree2f9b8df29a60378cc737a18740a87589bd9ea377
parent86fb647593499b5e5cf3f8cff7b4da8df6d2b08f (diff)
downloadchrome-ec-27ec1a5fdf6a3ece0ead8fa4ace031094a725bad.tar.gz
zephyr: config: drop redundant logging options
LOG and LOG_MODE_MINIMAL are already default since http://crrev.com/c/3819160. Drop a bunch of redundant configs. BRANCH=none BUG=none TEST=cq dry run TEST=checked the configs https://paste.googleplex.com/6293893212536832 Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I620d1568045c638a9abe877dc87d45b4accad206 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4031187 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Wai-Hong Tam <waihong@google.com>
-rw-r--r--zephyr/program/corsola/npcx_program.conf2
-rw-r--r--zephyr/program/intelrvp/prj.conf4
-rw-r--r--zephyr/program/it8xxx2_evb/prj.conf3
-rw-r--r--zephyr/program/nissa/program.conf5
-rw-r--r--zephyr/program/npcx_evb/npcx7/prj.conf1
-rw-r--r--zephyr/program/npcx_evb/npcx9/prj.conf1
-rw-r--r--zephyr/program/rex/prj.conf4
-rw-r--r--zephyr/test/ap_power/prj.conf1
-rw-r--r--zephyr/test/drivers/prj.conf1
-rw-r--r--zephyr/test/i2c/prj.conf1
-rw-r--r--zephyr/test/i2c_dts/prj.conf1
-rw-r--r--zephyr/test/qcom_power/prj.conf1
-rw-r--r--zephyr/test/system_common/prj.conf1
-rw-r--r--zephyr/test/system_shim/prj.conf1
14 files changed, 0 insertions, 27 deletions
diff --git a/zephyr/program/corsola/npcx_program.conf b/zephyr/program/corsola/npcx_program.conf
index e144e345ed..57cea6930d 100644
--- a/zephyr/program/corsola/npcx_program.conf
+++ b/zephyr/program/corsola/npcx_program.conf
@@ -9,8 +9,6 @@ CONFIG_PLATFORM_EC_SYSTEM_UNLOCKED=y
# Debug options and features; can be disabled to save memory or once bringup
# is complete.
CONFIG_SHELL_MINIMAL=n
-CONFIG_LOG=y
-CONFIG_LOG_MODE_MINIMAL=y
# Charger
CONFIG_PLATFORM_EC_CHARGER_DISCHARGE_ON_AC=y
diff --git a/zephyr/program/intelrvp/prj.conf b/zephyr/program/intelrvp/prj.conf
index 4b56a42b53..890122f510 100644
--- a/zephyr/program/intelrvp/prj.conf
+++ b/zephyr/program/intelrvp/prj.conf
@@ -57,10 +57,6 @@ CONFIG_SHELL_TAB=y
CONFIG_SHELL_TAB_AUTOCOMPLETION=y
CONFIG_KERNEL_SHELL=y
-# Logging
-CONFIG_LOG=y
-CONFIG_LOG_MODE_MINIMAL=y
-
# TODO
# Below conf are disabled to compile successfully
# These will be enabled in upcoming CLs
diff --git a/zephyr/program/it8xxx2_evb/prj.conf b/zephyr/program/it8xxx2_evb/prj.conf
index 1e1cac492b..ca11e57ca6 100644
--- a/zephyr/program/it8xxx2_evb/prj.conf
+++ b/zephyr/program/it8xxx2_evb/prj.conf
@@ -13,9 +13,6 @@ CONFIG_AP_ARM_MTK_MT8192=y
# Lid switch
CONFIG_PLATFORM_EC_LID_SWITCH=y
-# Logging
-CONFIG_LOG=y
-
# Fan
CONFIG_SENSOR=y
diff --git a/zephyr/program/nissa/program.conf b/zephyr/program/nissa/program.conf
index a803dadc4c..c70dd547ac 100644
--- a/zephyr/program/nissa/program.conf
+++ b/zephyr/program/nissa/program.conf
@@ -9,11 +9,6 @@ CONFIG_PLATFORM_EC=y
CONFIG_SHIMMED_TASKS=y
CONFIG_LTO=y
-# Debug options and features; can be disabled to save memory or once bringup
-# is complete.
-CONFIG_LOG=y
-CONFIG_LOG_MODE_MINIMAL=y
-
# RAM-saving options
# flash shell command is unused, allocated a 4kB buffer for flash test
CONFIG_FLASH_SHELL=n
diff --git a/zephyr/program/npcx_evb/npcx7/prj.conf b/zephyr/program/npcx_evb/npcx7/prj.conf
index 5f1fc03f88..c485e6a631 100644
--- a/zephyr/program/npcx_evb/npcx7/prj.conf
+++ b/zephyr/program/npcx_evb/npcx7/prj.conf
@@ -52,7 +52,6 @@ CONFIG_PLATFORM_EC_USB_PD_USB4=n
# Zephyr feature
CONFIG_ASSERT=y
CONFIG_SHELL_MINIMAL=n
-CONFIG_LOG=y
# Avoid underflow info from tachometer
CONFIG_SENSOR_LOG_LEVEL_ERR=y
diff --git a/zephyr/program/npcx_evb/npcx9/prj.conf b/zephyr/program/npcx_evb/npcx9/prj.conf
index 827b6366c6..a4b4c90a55 100644
--- a/zephyr/program/npcx_evb/npcx9/prj.conf
+++ b/zephyr/program/npcx_evb/npcx9/prj.conf
@@ -56,7 +56,6 @@ CONFIG_PLATFORM_EC_USB_PD_USB4=n
# Zephyr feature
CONFIG_ASSERT=y
CONFIG_SHELL_MINIMAL=n
-CONFIG_LOG=y
# Avoid underflow info from tachometer
CONFIG_SENSOR_LOG_LEVEL_ERR=y
diff --git a/zephyr/program/rex/prj.conf b/zephyr/program/rex/prj.conf
index 38b55aa783..ee0774d43d 100644
--- a/zephyr/program/rex/prj.conf
+++ b/zephyr/program/rex/prj.conf
@@ -18,10 +18,6 @@ CONFIG_SHELL_TAB=y
CONFIG_SHELL_TAB_AUTOCOMPLETION=y
CONFIG_KERNEL_SHELL=y
-# Logging
-CONFIG_LOG=y
-CONFIG_LOG_MODE_MINIMAL=y
-
# Disable default features we don't want in a minimal example.
CONFIG_PLATFORM_EC_BACKLIGHT_LID=y
CONFIG_PLATFORM_EC_SWITCH=y
diff --git a/zephyr/test/ap_power/prj.conf b/zephyr/test/ap_power/prj.conf
index 122b84e877..2d7e478e29 100644
--- a/zephyr/test/ap_power/prj.conf
+++ b/zephyr/test/ap_power/prj.conf
@@ -35,7 +35,6 @@ CONFIG_PLATFORM_EC=y
CONFIG_CROS_EC=y
CONFIG_SHIMMED_TASKS=y
CONFIG_EMUL=y
-CONFIG_LOG=y
CONFIG_GPIO=y
CONFIG_GPIO_EMUL=y
CONFIG_HEAP_MEM_POOL_SIZE=1024
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index ffb5af8281..8b113777b2 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -44,7 +44,6 @@ CONFIG_PLATFORM_EC=y
CONFIG_CROS_EC=y
CONFIG_SHIMMED_TASKS=y
CONFIG_EMUL=y
-CONFIG_LOG=y
CONFIG_I2C_EMUL=y
CONFIG_GPIO=y
CONFIG_GPIO_EMUL=y
diff --git a/zephyr/test/i2c/prj.conf b/zephyr/test/i2c/prj.conf
index b81e088ceb..0232fb33a9 100644
--- a/zephyr/test/i2c/prj.conf
+++ b/zephyr/test/i2c/prj.conf
@@ -3,7 +3,6 @@
# found in the LICENSE file.
CONFIG_ZTEST=y
-CONFIG_LOG=y
CONFIG_EMUL=y
CONFIG_I2C_EMUL=y
diff --git a/zephyr/test/i2c_dts/prj.conf b/zephyr/test/i2c_dts/prj.conf
index 37e0b443a4..8449e32d32 100644
--- a/zephyr/test/i2c_dts/prj.conf
+++ b/zephyr/test/i2c_dts/prj.conf
@@ -4,7 +4,6 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
-CONFIG_LOG=y
CONFIG_EMUL=y
CONFIG_I2C_EMUL=y
diff --git a/zephyr/test/qcom_power/prj.conf b/zephyr/test/qcom_power/prj.conf
index 16a00da41d..11aa3e6fb3 100644
--- a/zephyr/test/qcom_power/prj.conf
+++ b/zephyr/test/qcom_power/prj.conf
@@ -19,7 +19,6 @@ CONFIG_FLASH=y
CONFIG_GPIO=y
CONFIG_GPIO_EMUL=y
CONFIG_GPIO_GET_CONFIG=y
-CONFIG_LOG=y
CONFIG_PLATFORM_EC=y
CONFIG_RING_BUFFER=y
CONFIG_SERIAL=y
diff --git a/zephyr/test/system_common/prj.conf b/zephyr/test/system_common/prj.conf
index 02ba4c42a1..67dc659eed 100644
--- a/zephyr/test/system_common/prj.conf
+++ b/zephyr/test/system_common/prj.conf
@@ -5,7 +5,6 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_CROS_EC=y
-CONFIG_LOG=y
CONFIG_PLATFORM_EC_CROS_FWID_VERSION=y
CONFIG_PLATFORM_EC=y
diff --git a/zephyr/test/system_shim/prj.conf b/zephyr/test/system_shim/prj.conf
index 98e133f5ff..6888f70a53 100644
--- a/zephyr/test/system_shim/prj.conf
+++ b/zephyr/test/system_shim/prj.conf
@@ -6,7 +6,6 @@ CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_PLATFORM_EC=y
CONFIG_CROS_EC=y
-CONFIG_LOG=y
CONFIG_BBRAM=y
CONFIG_BBRAM_EMUL=y