I need to configure Colibri IMX6 SOM pins 105 (GPIO2_IO23) and 106 (GPIO2_24) as inputs at boot. How can I do this?

I need to configure Colibri IMX6 SOM pins 105 (GPIO2_IO23) and 106 (GPIO2_24) as inputs at boot. How can I do this?

I have tried this approach in UBOOT : set pin.XX.= but could not get it to work. I would love to get this working in UBOOT.

I desperately need to get this to work for a keyboard input that is used right after boot.

Any suggestions?

Thank you.

Do you need that lines to be as GPIO input at U_Boot or when is Linux booted?