PROCESSOR-SDK-AM64X: reset cause read after reboot

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: TMDS64EVM

Tool/software:

Hi:

I am running TMDS64EVM, without Operation System.

If my bare-metal system encounters an error and reboots, we want to read the reset reason from CTRLMMR_MCU_RST_SRC.

My question is: when the system boots, it goes through the SBL and then the application. Will this register preserve its value across the SBL-to-application transition, or is it cleared during that stage?

Thanks.