Yes, we should get rid of 90% of the motherboard specific code and instead pack things into config files ;-) modularize as much as possible and autogenerate the rest.
Amen.
in v3 we should get the failsafe and auto.c moved to generic code completely...
Unfortunately, in the failsafe part in the ROM, some things _have_ to be hardcoded, even if you _could_ auto-detect them, simply because auto detect is not "fail-safe" enough.
It should only be the bare minimum required to a) get console output; and b) reflash the board; of course.
Segher