diff options
Diffstat (limited to 'board/cr50/factory_mode.c')
-rw-r--r-- | board/cr50/factory_mode.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/board/cr50/factory_mode.c b/board/cr50/factory_mode.c index 520105c241..dfd5c14175 100644 --- a/board/cr50/factory_mode.c +++ b/board/cr50/factory_mode.c @@ -14,25 +14,6 @@ #define CPRINTF(format, args...) cprintf(CC_CCD, format, ## args) -static int board_id_is_erased(void) -{ - struct board_id id; - /* - * If we can't read the board id for some reason, return 0 just to be - * safe - */ - if (read_board_id(&id) != EC_SUCCESS) { - CPRINTS("%s: BID read error", __func__); - return 0; - } - - if (board_id_is_blank(&id)) { - CPRINTS("BID erased"); - return 1; - } - return 0; -} - static int inactive_image_is_guc_image(void) { enum system_image_copy_t inactive_copy; |