dump_spd_registers in generic_dump_spd.c isn't really so generic.
It assumes that you have 2 memory channels which fails to build for me.
Is there already some method of indicating how many memory channels you have our should I just create a #define option that you set when you need to use this diagnositc.