We tried making changes to ..boot_prep/init-mx28.c to disable PSWITCH, but were unable to. Any suggestions on what exact changes are required to do this?
The power-off functionality of the PSWITCH signal can be disabled by setting the FASTFALLPSWITCH_OFF bit in the HW_POWER_RESET register.
The power-on functionality of the PSWITCH signal can be disabled by setting the DISABLE_PSWITCH bit in the HW_RTC_PERSISTENT0 register.
The entering recovery mode functionality of the PSWITCH signal cannot be disabled in any way.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------