I've put several print_info statements in romstage.c and narrowed it down to the following line in i3100_early_lpc.c:
pci_write_config32(dev, 0x44, pci_read_config32(dev, 0x44) | (1 << 7));
Further debug shows that in general I can not read a value and then use the value. If I just perfrom a read operation it executes the instruction and contiues. But if I do a read and try to use a print_info_hexXX function it just hangs.
Yes, you can compile it with
Any ideas on what to try next? Is there a recommended toolchain?