Hi Team,
We need to configure two GPIO pins as output mode and toggle it in romstage(romstage.c) and ramstage (mainboard.c). Currently we are using below function calls to toggle the gpio, but it is not working.
GPIO Pin Number : 59
romstage.c
----------
configure_score_gpio(59, PAD_FUNC0 | PAD_PULL_UP | PAD_PU_10K, PAD_VAL_OUTPUT | PAD_VAL_LOW);
write_score_gpio(59, PAD_VAL_LOW);
printk(BIOS_NOTICE, “gpio status : %d\n”, read_score_gpio(59)); // output : gpio status : 0
write_score_gpio(59, PAD_VAL_HIGH);
printk(BIOS_NOTICE, “gpio status : %d\n”, read_score_gpio(59)); // output : gpio status : 0
We are getting gpio status as “0” for the both the function calls.
Kindly give us your input for the same.
Regards,
Samuthria