diff --git a/board/netmodule/imx8_nmhw23/imx8_nmhw23.c b/board/netmodule/imx8_nmhw23/imx8_nmhw23.c index 80bb935791..ed5f6d2f35 100644 --- a/board/netmodule/imx8_nmhw23/imx8_nmhw23.c +++ b/board/netmodule/imx8_nmhw23/imx8_nmhw23.c @@ -573,6 +573,7 @@ static void check_reset_reason(uint64_t reset_reason_shm_location) * If this marker is not present, we have a power on reset */ ret = da9063_get_reg(PMIC_GP_ID_1, &state); + printf("check_reset_reason, ret: %d state: %d\n", ret, state); if ((ret == 0) && (state != 0xC5)) { (void)da9063_set_reg(PMIC_GP_ID_1, 0xC5); start_reason |= SR_POR; @@ -584,6 +585,7 @@ static void check_reset_reason(uint64_t reset_reason_shm_location) * - Watchdog */ ret = da9063_get_reg(PMIC_REG_FAULT_LOG, &state); + printf("check_reset_reason, ret: %d state: %d\n", ret, state); if ((ret == 0) && (state != 0)) { /* clear pmic fault log by writing back all bits currently set */ (void)da9063_set_reg(PMIC_REG_FAULT_LOG, state); @@ -610,6 +612,7 @@ static void check_reset_reason(uint64_t reset_reason_shm_location) * - COMP 1V2: Ignition */ ret = da9063_get_reg(PMIC_REG_EVENT_A, &state); + printf("check_reset_reason, ret: %d state: %d\n", ret, state); if ((ret == 0) && (state != 0)) { (void)da9063_set_reg(PMIC_REG_EVENT_A, state); @@ -646,6 +649,7 @@ static void check_reset_reason(uint64_t reset_reason_shm_location) */ if (rr_is_reset_reason_valid(reset_regs)) { + printf("check_reset_reason valid rr\n"); if (reset_regs->rr_value == RR_REBOOT_PATTERN) { start_reason |= SR_REBOOT; }