summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-09-24 14:09:16 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-24 23:14:38 +0000
commit32d073f6c6e876c55a8dd13053ce49964773e75f (patch)
tree6d9af5a3a6c24a069edde2a02cb2683a01e139a7
parentd1da1250a838940fdfdf1b24b356186b738f33dd (diff)
downloadchrome-ec-32d073f6c6e876c55a8dd13053ce49964773e75f.tar.gz
Add deprecated consts to ec_commands.h, just in case.
We've removed a few constants from the exported header file since the last big sync. Just in case some of them are still in use (coredump, flashrom), let's make it easy to redistribute the header unchanged. We can remove them for real next time. BUG=chromium:251441 BRANCH=none TEST=manual Compile, test, run, etc. This CL just adds back some unused (by the EC) constants that were previously removed, so nothing should change. Change-Id: Ia9889db89a90d56c8154fea1e8c8a483fdcae805 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/170522 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--include/ec_commands.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 5225fc75b5..d3eb7eefae 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1891,4 +1891,15 @@ struct ec_params_reboot_ec {
#endif /* !__ACPI__ */
+/*****************************************************************************/
+/*
+ * Deprecated constants. These constants have been renamed for clarity. The
+ * meaning and size has not changed. Programs that use the old names should
+ * switch to the new names soon, as the old names may not be carried forward
+ * forever.
+ */
+#define EC_HOST_PARAM_SIZE EC_PROTO2_MAX_PARAM_SIZE
+#define EC_LPC_ADDR_OLD_PARAM EC_HOST_CMD_REGION1
+#define EC_OLD_PARAM_SIZE EC_HOST_CMD_REGION_SIZE
+
#endif /* __CROS_EC_COMMANDS_H */