* Richard Smith smithbone@gmail.com [050121 21:34]:
What's the functional purpose of auto.c? Obvously to turn on the ram but what else?
mostly ram init control. It is the main function that has to run before LinuxBIOS can be copied to ram. On AMD K8 this means you have to set up hypertransport and enable i2c to see the spd roms. It grabs the different code fragments and puts them together. It also contains some board specific setups, like the addresses of the spd roms on the i2c bus.
Are the #includes distributed through the file for a romcc reason?
Mostly for readability. And some code uses functions defined in auto.c. On K8 this was generate_row for a long while, and activate_spd_rom to set i2c switches on the board dependant on the ram socket you want to access.
Stefan