ron minnich wrote:
On Tue, Oct 28, 2008 at 8:03 AM, Myles Watson <[EMAIL PROTECTED]> wrote:
Here's a list of the #defines that I think we should look at. I would like
to detect as many as possible, and add the rest to the dts or Kconfig.
...
./raminit.c:#if CPU_SOCKET_TYPE == SOCKET_L1
./raminit.c:#if CPU_SOCKET_TYPE == SOCKET_AM2
yes, these are trivial to detect at runtime.
./raminit.c:#if DIMM_SUPPORT==0x0104 /* DDR2 and REG */
This ought to be determined somehow but not sure how.
These two are related. The socket type defines the package and by
extension what type of dimms are supported. It is better to define the
socket for the platform than trying to detect it since it can't change.
Marc
--
Marc Jones
Senior Firmware Engineer
(970) 226-9684 Office
mailto:[EMAIL PROTECTED]
http://www.amd.com/embeddedprocessors
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot