summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/flash.c b/test/flash.c
index 3ee3384619..8c3e2698c7 100644
--- a/test/flash.c
+++ b/test/flash.c
@@ -348,9 +348,9 @@ static int test_op_failure(void)
static int test_flash_info(void)
{
- struct ec_response_flash_info resp;
+ struct ec_response_flash_info_1 resp;
- TEST_ASSERT(test_send_host_command(EC_CMD_FLASH_INFO, 0, NULL, 0,
+ TEST_ASSERT(test_send_host_command(EC_CMD_FLASH_INFO, 1, NULL, 0,
&resp, sizeof(resp)) == EC_RES_SUCCESS);
TEST_CHECK((resp.flash_size == CONFIG_FLASH_SIZE) &&