From 8febf5ba28bae606f6779b82aedf8795e11df5b3 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 15 Oct 2012 12:59:44 -0700 Subject: [PATCH] Host commands use correct console channel Previously they reported on the system channel, not the hostcmd channel. BUG=none BRANCH=none (affects all platforms, but only affects use of 'chan' ec console command) TEST=manual - chan 0x40 - x86reset - should see HC debug output. Change-Id: Ie9873db015c94a0198a94ebafad87d51b0f73620 Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/35953 Reviewed-by: Simon Glass --- common/host_command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/host_command.c b/common/host_command.c index 6a872de508..d57c6bcd4f 100644 --- a/common/host_command.c +++ b/common/host_command.c @@ -18,8 +18,8 @@ #include "util.h" /* Console output macros */ -#define CPUTS(outstr) cputs(CC_SYSTEM, outstr) -#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args) +#define CPUTS(outstr) cputs(CC_HOSTCMD, outstr) +#define CPRINTF(format, args...) cprintf(CC_HOSTCMD, format, ## args) #define TASK_EVENT_CMD_PENDING TASK_EVENT_CUSTOM(1)