
Hi Kim,
On Monday 13 August 2007, Kim Phillips wrote:
the problem is some boards spit out other memory diagnostic information, such as:
DDR DIMM: data bus width is 64 bit without ECC DDRC ECC mode: OFF SDRAM on Local Bus is NOT available!
I can abbreviate the above to have the entire DRAM line show something like "DRAM: 64-bit, ECC off, 256MB\n". Let me know if you have objections.
On some 4xx boards I generate this output:
DRAM: 512 MB (ECC not enabled, 533 MHz, CL4)
It's using the function board_add_ram_info() enabled via the CONFIG_ADD_RAM_INFO option. Perhaps we could define this function as weak too, to loose some more #ifdef's.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================