Using AM4376 with u-boot-2018.01 from ti git.
I'm trying to get u-boot to detect a button depressed during startup to load a different recovery image. On our board, the button is on GPIO3_15, is there any code that illustrates how this can be done? Something like recovery mode in cellphones, where if the button is depressed for 5 seconds while starting up then load recovery, else go to regular image.
Thanks!