]> git.sur5r.net Git - u-boot/blobdiff - include/cros_ec_message.h
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / include / cros_ec_message.h
index b1da53db1b359612172d54a7ac0f442b90a72008..977951b30d9bb7607258a3f569a3ffa42eef5a13 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Chromium OS Matrix Keyboard Message Protocol definitions
  *
  * Copyright (c) 2012 The Chromium OS Authors.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _CROS_MESSAGE_H
@@ -23,7 +22,7 @@ enum {
        MSG_PROTO_BYTES         = MSG_HEADER_BYTES + MSG_TRAILER_BYTES,
 
        /* Max length of messages */
-       MSG_BYTES               = EC_HOST_PARAM_SIZE + MSG_PROTO_BYTES,
+       MSG_BYTES               = EC_PROTO2_MAX_PARAM_SIZE + MSG_PROTO_BYTES,
 };
 
 #endif