On Wed, Oct 16, 2019 at 3:36 PM Jorge Fernandez Monteagudo jorgefm@cirsa.com wrote:
Hi all,
Sorry for my noob question but, how can I know where the IO port 80 is physically mapped in my hardware?
I have a custom board with an AMD Prairie Falcon SOC and I'm still trying to get it work. I've read the AGESA blob could post error codes to this IO port and I would like to get this info, but I don't complete understand the magic behind the postcodes and the IO port. Anybody could bring some light?
Do you have working coreboot serial console and postcodes already? Recent AMD SoCs have LPC clocks disabled and/or LPC pins as multi-purpose. See hudson_lpc_port80() implementation and try adapt from that to route IO 0x80 to LPC.
You can contact me privately if you are willing to share more details from your design.
Regards, Kyösti Mälkki