From e57c7468b01d59eb7a329613bb960d7a6245b224 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Wed, 12 Jun 2019 14:32:07 -0700 Subject: nvmem: use CC_SYSTEM instead of CC_COMMAND Use CC_SYSTEM for nvmem print statments instead of CC_COMMAND, so the CC_COMMAND channel will only have command output. BUG=none BRANCH=cr50 TEST=chan 0 restricts the console, so it only prints command output. Nvmem prints are still enabled by default. Change-Id: Ief79c930416a3560f7316c0df77c73504d855070 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1656628 Reviewed-by: Vadim Bendebury --- common/nvmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/nvmem.c b/common/nvmem.c index 577318af2f..77c3fe2040 100644 --- a/common/nvmem.c +++ b/common/nvmem.c @@ -13,8 +13,8 @@ #include "timer.h" #include "util.h" -#define CPRINTF(format, args...) cprintf(CC_COMMAND, format, ##args) -#define CPRINTS(format, args...) cprints(CC_COMMAND, format, ##args) +#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ##args) +#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ##args) /* * The NVMEM contents are stored in flash memory. At run time there is an SRAM -- cgit v1.2.1