Only send ME Dram Init Done message on Sandybridge

This is done inside the SystemAgent binary on Ivybridge.

Change-Id: I8fb0f593a65a4803e160b284c21b9d5021e2e4a0
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/970
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Duncan Laurie 2012-04-09 12:30:43 -07:00 committed by Stefan Reinauer
parent 0ff99b70f5
commit 7b508ddecb
1 changed files with 8 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include <cbfs.h> #include <cbfs.h>
#include <ip_checksum.h> #include <ip_checksum.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <device/pci_def.h>
#include "raminit.h" #include "raminit.h"
#include "pei_data.h" #include "pei_data.h"
#include "sandybridge.h" #include "sandybridge.h"
@ -365,7 +366,13 @@ void sdram_initialize(struct pei_data *pei_data)
version >> 24 , (version >> 16) & 0xff, version >> 24 , (version >> 16) & 0xff,
(version >> 8) & 0xff, version & 0xff); (version >> 8) & 0xff, version & 0xff);
/* Send ME init done for SandyBridge here. This is done
* inside the SystemAgent binary on IvyBridge. */
if (BASE_REV_SNB ==
(pci_read_config16(PCI_CPU_DEVICE, PCI_DEVICE_ID) & BASE_REV_MASK))
intel_early_me_init_done(ME_INIT_STATUS_SUCCESS); intel_early_me_init_done(ME_INIT_STATUS_SUCCESS);
else
intel_early_me_status();
report_memory_config(); report_memory_config();