summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivya Sasidharan <divya.s.sasidharan@intel.com>2022-01-06 11:55:53 -0800
committerCommit Bot <commit-bot@chromium.org>2022-01-07 21:49:17 +0000
commitd024c61cebe963cb77f1cdb19d36e11d7fc3deab (patch)
tree864b24d459d28a56599854ed6c3d8ffbd24a11dd
parent51e59ff472c6bbaad9a10130fdd6043e509cf35c (diff)
downloadchrome-ec-d024c61cebe963cb77f1cdb19d36e11d7fc3deab.tar.gz
brya: Update console channel used for cbi
This is needed to ensure the console print for cbi does not depend on chipset task to be enabled. BUG=b:203446068 BRANCH=main TEST=make buildall & zephyr testall, console prints verified. Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com> Change-Id: I221aff2c99fe708487907fdf49a3cf5bb92612c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3370941 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--baseboard/brya/cbi.c4
-rw-r--r--board/brya/fw_config.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/baseboard/brya/cbi.c b/baseboard/brya/cbi.c
index 6d9e2b93fa..791abbab88 100644
--- a/baseboard/brya/cbi.c
+++ b/baseboard/brya/cbi.c
@@ -10,8 +10,8 @@
#include "cros_board_info.h"
#include "hooks.h"
-#define CPRINTS(format, args...) cprints(CC_CHIPSET, format, ## args)
-#define CPRINTF(format, args...) cprintf(CC_CHIPSET, format, ## args)
+#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args)
+#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args)
static uint8_t board_id;
diff --git a/board/brya/fw_config.c b/board/brya/fw_config.c
index 9c28c3ca58..414908a1f1 100644
--- a/board/brya/fw_config.c
+++ b/board/brya/fw_config.c
@@ -10,7 +10,7 @@
#include "cros_board_info.h"
#include "fw_config.h"
-#define CPRINTS(format, args...) cprints(CC_CHIPSET, format, ## args)
+#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args)
static union brya_cbi_fw_config fw_config;
BUILD_ASSERT(sizeof(fw_config) == sizeof(uint32_t));