Hi NXP
About IMX8M-Plus evk board, How to modify the register about the power button presses time?
Our customer need to modify the button presses 0.2 sec, system will be start up.
Thanks.
Hi Clayder,
You should modify ON-TIME parameter from 500ms to 0ms from SNVS LPCR register.
I suggest you can parser imx-atf source code , and try to modified something as below.
imx/imx8m/imx8m_psci_common.c
void __dead2 imx_system_off(void)
{
mmio_write_32(IMX_SNVS_BASE + SNVS_LPCR, SNVS_LPCR_SRTC_ENV |
SNVS_LPCR_DP_EN | SNVS_LPCR_TOP | 0x00300000);
while (1)
;
}