From 8c44bd4932a22e6e7d49a29028bcd0e62f13ddc5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 15 Aug 2012 14:16:22 -0700 Subject: Add new EC_RES_IN_PROGRESS result code Some commands take a long time. For interfaces which are not synchronous the host wants an immediate response to know that the command is in progress. Provide this new result code, and set LPC to ignore it. BUG=chrome-os-partner:12685 BRANCH=snow,link TEST=manual build and boot to kernel on snow Change-Id: If801c21e6cf96746858dfa64f6ce1f1631d3e6e5 Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/30469 Reviewed-by: Randall Spangler Reviewed-by: David Hendricks --- include/ec_commands.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ec_commands.h b/include/ec_commands.h index c1b19bcf1a..66c5a1d04f 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -186,6 +186,7 @@ enum ec_status { EC_RES_INVALID_RESPONSE = 5, EC_RES_INVALID_VERSION = 6, EC_RES_INVALID_CHECKSUM = 7, + EC_RES_IN_PROGRESS = 8, /* Accepted, command in progress */ }; /* -- cgit v1.2.1