From a98c706755b378a38676677989bd987f134bef1c Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 22 Feb 2016 19:35:16 +0100 Subject: [PATCH] cleaner --- grub-core/term/arm/cros_ec.c | 42 ------------------------------------ 1 file changed, 42 deletions(-) diff --git a/grub-core/term/arm/cros_ec.c b/grub-core/term/arm/cros_ec.c index 34823653a..7ab03e3ed 100644 --- a/grub-core/term/arm/cros_ec.c +++ b/grub-core/term/arm/cros_ec.c @@ -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 */ -- 2.47.2