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

index 34823653a5d10f7ba6bb638c6d6fa913d50e71f6..7ab03e3ed5f7ba4bc9081d2f6da58afd0862a612 100644 (file)
@@ -624,48 +624,6 @@ struct ec_response_rtc {
 #define EC_CMD_RTC_SET_VALUE 0x46
 #define EC_CMD_RTC_SET_ALARM 0x47
 
-/*****************************************************************************/
-/* Port80 log access */
-
-/* Maximum entries that can be read/written in a single command */
-#define EC_PORT80_SIZE_MAX 32
-
-/* Get last port80 code from previous boot */
-#define EC_CMD_PORT80_LAST_BOOT 0x48
-#define EC_CMD_PORT80_READ 0x48
-
-enum ec_port80_subcmd {
-       EC_PORT80_GET_INFO = 0,
-       EC_PORT80_READ_BUFFER,
-};
-
-struct ec_params_port80_read {
-       uint16_t subcmd;
-       union {
-               struct {
-                       uint32_t offset;
-                       uint32_t num_entries;
-               } read_buffer;
-       };
-} __packed;
-
-struct ec_response_port80_read {
-       union {
-               struct {
-                       uint32_t writes;
-                       uint32_t history_size;
-                       uint32_t last_boot;
-               } get_info;
-               struct {
-                       uint16_t codes[EC_PORT80_SIZE_MAX];
-               } data;
-       };
-} __packed;
-
-struct ec_response_port80_last_boot {
-       uint16_t code;
-} __packed;
-
 /*****************************************************************************/
 /* MKBP - Matrix KeyBoard Protocol */