On 8/18/07, Joseph Smith <[EMAIL PROTECTED]> wrote: > How would I provide a fake spd array? Here is the situation. My board > has the onboard memory without a SPD, I could just hardcode this into > the northbridge raminit.c. But I don't want to do that so people that > may want to use the northbridge src for other boards won't have to > deal with it. So right now I have auto.c call a function that runs in > between sdram_set_spd_registers and sdram_enable, like this: > > sdram_set_spd_registers(memctrl); > onboard_sdram_set_registers(memctrl); > sdram_enable(0, memctrl); > > This function, onboard_sdram_set_registers manually sets up the regsters. > > Anyways I would also like to get the smbus_write_byte write going to > setup my tv-out registers on my tv-out chip?
rename these function to different name _*. and add functions that will handle SPD address with handling the array. and other address still call _*. YH -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios