summaryrefslogtreecommitdiff
path: root/util/e6400-flash-unlock/e6400_flash_unlock.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-29 22:01:41 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-29 22:01:41 +0100
commit8df2f8095e11aa4995906856bf3d9396890c6dd5 (patch)
tree87291bccac650c71e707200436a6dd8e9836d532 /util/e6400-flash-unlock/e6400_flash_unlock.c
parent06c92d4a4aa58e554b52283a7154b6e69c5b82e5 (diff)
util/e6400-flash-unlock: clean up commented code
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/e6400-flash-unlock/e6400_flash_unlock.c')
-rw-r--r--util/e6400-flash-unlock/e6400_flash_unlock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/util/e6400-flash-unlock/e6400_flash_unlock.c b/util/e6400-flash-unlock/e6400_flash_unlock.c
index 9302d099..9488a67e 100644
--- a/util/e6400-flash-unlock/e6400_flash_unlock.c
+++ b/util/e6400-flash-unlock/e6400_flash_unlock.c
@@ -44,7 +44,6 @@ void send_ec_cmd(uint8_t cmd);
void wait_ec(void);
int get_gbl_smi_en(void);
int set_gbl_smi_en(int enable);
-/* uint8_t read_ec_reg(uint8_t index); */
#define EC_INDEX 0x910
#define EC_DATA 0x911
@@ -157,11 +156,3 @@ set_gbl_smi_en(int enable)
return (get_gbl_smi_en() == enable);
}
-/*
-uint8_t
-read_ec_reg(uint8_t index)
-{
- outb(index, EC_INDEX);
- return inb(EC_DATA);
-}
-*/