diff options
Diffstat (limited to 'test/cbi.c')
-rw-r--r-- | test/cbi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cbi.c b/test/cbi.c index df57febb6f..936dc204b8 100644 --- a/test/cbi.c +++ b/test/cbi.c @@ -140,6 +140,8 @@ static int test_all_tags(void) == EC_SUCCESS); TEST_ASSERT(cbi_set_board_info(CBI_TAG_PCB_SUPPLIER, &d8, sizeof(d8)) == EC_SUCCESS); + TEST_ASSERT(cbi_set_board_info(CBI_TAG_SSFC, &d8, sizeof(d8)) + == EC_SUCCESS); TEST_ASSERT(cbi_get_board_version(&d32) == EC_SUCCESS); TEST_EQ(d32, d8, "0x%x"); TEST_ASSERT(cbi_get_oem_id(&d32) == EC_SUCCESS); @@ -152,6 +154,8 @@ static int test_all_tags(void) TEST_EQ(d32, d8, "0x%x"); TEST_ASSERT(cbi_get_pcb_supplier(&d32) == EC_SUCCESS); TEST_EQ(d32, d8, "0x%x"); + TEST_ASSERT(cbi_get_ssfc(&d32) == EC_SUCCESS); + TEST_EQ(d32, d8, "0x%x"); /* Write protect */ gpio_set_level(GPIO_WP, 1); |