summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/g/board_id.c4
-rw-r--r--chip/g/system.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/chip/g/board_id.c b/chip/g/board_id.c
index 6a7309e739..588676c41e 100644
--- a/chip/g/board_id.c
+++ b/chip/g/board_id.c
@@ -233,7 +233,7 @@ static int command_board_id(int argc, char **argv)
ccprintf("Inv Type Mismatch (%08x instead of %08x)!\n",
id.type_inv, ~id.type);
}
-#ifdef CR50_DEV
+#ifdef CR50_RELAXED
else if (argc == 3) {
char *e;
@@ -250,7 +250,7 @@ static int command_board_id(int argc, char **argv)
return rv;
}
DECLARE_SAFE_CONSOLE_COMMAND(bid, command_board_id,
-#ifdef CR50_DEV
+#ifdef CR50_RELAXED
"[bid flags]",
#else
NULL,
diff --git a/chip/g/system.c b/chip/g/system.c
index d68da094f2..d1f1375c1d 100644
--- a/chip/g/system.c
+++ b/chip/g/system.c
@@ -607,7 +607,7 @@ const char *system_get_build_info(void)
static void update_rollback_mask(uint32_t addr_a, uint32_t addr_b,
uint32_t info_base_offset)
{
-#ifndef CR50_DEV
+#ifndef CR50_RELAXED
const struct SignedHeader *header_a;
const struct SignedHeader *header_b;
int updated_words_count = 0;
@@ -696,7 +696,7 @@ static void update_rollback_mask(uint32_t addr_a, uint32_t addr_b,
flash_info_write_disable();
CPRINTS("updated %d info map words", updated_words_count);
-#endif /* CR50_DEV ^^^^^^^^ NOT defined. */
+#endif /* CR50_RELAXED ^^^^^^^^ NOT defined. */
}
void system_update_rollback_mask_with_active_img(void)