summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYork Yang <york.yang@intel.com>2016-10-05 09:32:46 -0700
committerMartin Roth <martinroth@google.com>2016-10-09 19:07:58 +0200
commitab5f3d1304d14dcc8b0d1cfac66e0ea3dbab09fe (patch)
tree0e0325ba1c172f87b3ff9e53add0395ff21a40a1
parentf641779bacadde3b6bfd5603790ad842b1bda6b2 (diff)
downloadcoreboot-ab5f3d1304d14dcc8b0d1cfac66e0ea3dbab09fe.tar.xz
soc/intel/fsp_broadwell_de: Remove the enforced fsp1.0 APIs call sequence
The enforced FSP 1.0 APIs call was used to work around an fsp1.0 driver issue. As the issue has been addressed in fsp1.0 driver (Change 9780), remove the enforced workaround. Otherwise will see error message 'FSP API NotifyPhase failed' in serial log. Verified on Intel Camelback Mountain CRB and confirmed that the serial log error message regarding the 'FSP API NotifyPhase failed' is gone. Change-Id: Iafa1d22e2476769fd841a3ebaa1ab4f9713c6c39 Signed-off-by: York Yang <york.yang@intel.com> Reviewed-on: https://review.coreboot.org/16892 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/soc/intel/fsp_broadwell_de/chip.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/chip.c b/src/soc/intel/fsp_broadwell_de/chip.c
index 78649fc796..b8db395350 100644
--- a/src/soc/intel/fsp_broadwell_de/chip.c
+++ b/src/soc/intel/fsp_broadwell_de/chip.c
@@ -66,21 +66,9 @@ static void enable_dev(device_t dev)
}
}
-static void fsp_notify(void *arg)
-{
- FspNotify (*(uint32_t *)arg);
-}
-
-static uint32_t gFspNotifyAfterPciEnumeration = EnumInitPhaseAfterPciEnumeration;
-static uint32_t gFspNotifyReadtToBoot = EnumInitPhaseReadyToBoot;
-static BOOT_STATE_CALLBACK(bscb_fspnotify1, fsp_notify, &gFspNotifyAfterPciEnumeration);
-static BOOT_STATE_CALLBACK(bscb_fspnotify2, fsp_notify, &gFspNotifyReadtToBoot);
-
/* Called at BS_DEV_INIT_CHIPS time -- very early. Just after BS_PRE_DEVICE. */
static void soc_init(void *chip_info)
{
- boot_state_sched_on_exit(&bscb_fspnotify1, BS_DEV_RESOURCES);
- boot_state_sched_on_exit(&bscb_fspnotify2, BS_PAYLOAD_LOAD);
broadwell_de_init_pre_device();
}