I am having a T1022 processor based board, one of the gpio signal GPIO3_31 is by default configured as output , i wanted it to be configured as GPIO3_31 as input. I have made the changes via GPIO direction register. But on giving reset to processor the pin again gets configured as output. Is there some way i can latch the value of the respective pin or modify the default configuration of the pin so that after reboot/reset of the same , the port pin configuration remains same as done at time of reboot/reset.