]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
cleaner
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 22 Feb 2016 18:39:30 +0000 (19:39 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 22 Feb 2016 18:39:30 +0000 (19:39 +0100)
grub-core/term/arm/cros_ec.c

index 4ef80351efe6a71c561d344a2e2020a04e5ec18e..b4e6772de811548b76af0caad72357381fb8fd41 100644 (file)
@@ -457,21 +457,6 @@ struct ec_response_get_comms_status {
        uint32_t flags;         /* Mask of enum ec_comms_status */
 } __packed;
 
-/* Fake a variety of responses, purely for testing purposes. */
-#define EC_CMD_TEST_PROTOCOL           0x0a
-
-/* Tell the EC what to send back to us. */
-struct ec_params_test_protocol {
-       uint32_t ec_result;
-       uint32_t ret_len;
-       uint8_t buf[32];
-} __packed;
-
-/* Here it comes... */
-struct ec_response_test_protocol {
-       uint8_t buf[32];
-} __packed;
-
 /* Get prococol information */
 #define EC_CMD_GET_PROTOCOL_INFO       0x0b