Home
last modified time | relevance | path

Searched refs:rstsr (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/st/stm32mp2/
H A Dbl2_plat_setup.c39 uint32_t rstsr = mmio_read_32(stm32mp_rcc_base() + RCC_C1BOOTRSTSCLRR); in print_reset_reason() local
43 if ((rstsr & RCC_C1BOOTRSTSCLRR_C1P1RSTF) != 0U) { in print_reset_reason()
48 if ((rstsr & RCC_C1BOOTRSTSCLRR_PADRSTF) == 0U) { in print_reset_reason()
49 if ((rstsr & RCC_C1BOOTRSTSCLRR_STBYC1RSTF) != 0U) { in print_reset_reason()
51 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_D1STBYRSTF) != 0U) { in print_reset_reason()
53 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_VCPURSTF) != 0U) { in print_reset_reason()
55 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_C1RSTF) != 0U) { in print_reset_reason()
61 if ((rstsr & RCC_C1BOOTRSTSCLRR_PORRSTF) != 0U) { in print_reset_reason()
63 } else if ((rstsr & RCC_C1BOOTRSTSCLRR_BORRSTF) != 0U) { in print_reset_reason()
65 } else if ((rstsr & (RCC_C1BOOTRSTSSETR_SYSC2RSTF | in print_reset_reason()
[all …]
/rk3399_ARM-atf/plat/st/stm32mp1/
H A Dbl2_plat_setup.c56 uint32_t rstsr = mmio_read_32(stm32mp_rcc_base() + RCC_MP_RSTSCLRR); in print_reset_reason() local
58 if (rstsr == 0U) { in print_reset_reason()
63 INFO("Reset reason (0x%x):\n", rstsr); in print_reset_reason()
65 if ((rstsr & RCC_MP_RSTSCLRR_PADRSTF) == 0U) { in print_reset_reason()
66 if ((rstsr & RCC_MP_RSTSCLRR_STDBYRSTF) != 0U) { in print_reset_reason()
71 if ((rstsr & RCC_MP_RSTSCLRR_CSTDBYRSTF) != 0U) { in print_reset_reason()
77 if ((rstsr & RCC_MP_RSTSCLRR_PORRSTF) != 0U) { in print_reset_reason()
82 if ((rstsr & RCC_MP_RSTSCLRR_BORRSTF) != 0U) { in print_reset_reason()
88 if ((rstsr & RCC_MP_RSTSCLRR_MCSYSRSTF) != 0U) { in print_reset_reason()
89 if ((rstsr & RCC_MP_RSTSCLRR_PADRSTF) != 0U) { in print_reset_reason()
[all …]