diff options
author | Leah Rowe <leah@libreboot.org> | 2023-04-30 14:07:02 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-04-30 14:07:02 +0100 |
commit | f49eccee72973c7b582fbd623545af2a58493f61 (patch) | |
tree | 4d79bbfe2822fe1955830ac7305324154a7726b2 /util | |
parent | 6588be675f34436cfef7d41e630e47fda995fa14 (diff) |
util/e6400-flash-unlock: do void on ec_fdo_command
the return value was never used
Diffstat (limited to 'util')
-rw-r--r-- | util/e6400-flash-unlock/e6400_flash_unlock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/e6400-flash-unlock/e6400_flash_unlock.c b/util/e6400-flash-unlock/e6400_flash_unlock.c index 0bffef6d..9302d099 100644 --- a/util/e6400-flash-unlock/e6400_flash_unlock.c +++ b/util/e6400-flash-unlock/e6400_flash_unlock.c @@ -38,7 +38,7 @@ EC_FDO_CMD { }; int get_fdo_status(void); -uint8_t ec_fdo_command(enum EC_FDO_CMD arg); +void ec_fdo_command(enum EC_FDO_CMD arg); void write_ec_reg(uint8_t index, uint8_t data); void send_ec_cmd(uint8_t cmd); void wait_ec(void); @@ -106,12 +106,11 @@ get_fdo_status(void) * 2 = Enable FDO for next boot * 3 = Disable FDO for next boot - TODO */ -uint8_t +void ec_fdo_command(enum EC_FDO_CMD arg) { write_ec_reg(0x12, arg); send_ec_cmd(0xb8); - return 1; } void |