[coreboot-gerrit] Change in coreboot[master]: google/kahlee: Add AGESA_DO_RESET in bootblock

Marc Jones (Code Review) gerrit at coreboot.org
Thu Oct 12 04:34:01 CEST 2017


Marc Jones has uploaded this change for review. ( https://review.coreboot.org/21979


Change subject: google/kahlee: Add AGESA_DO_RESET in bootblock
......................................................................

google/kahlee: Add AGESA_DO_RESET in bootblock

Support the irequired AGESA_DO_RESET in bootblock.

BUG=b:64719937
BRANCH=none
TEST=Check AGESA reset request in booblock does a reset in the serial
console or ec console.

Change-Id: I462a1f81b8d209c15417946a314f2bfb9b226e4d
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/drivers/amd/agesa/def_callouts.c
M src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/21979/1

diff --git a/src/drivers/amd/agesa/def_callouts.c b/src/drivers/amd/agesa/def_callouts.c
index 21530a1..639b3ec 100644
--- a/src/drivers/amd/agesa/def_callouts.c
+++ b/src/drivers/amd/agesa/def_callouts.c
@@ -88,7 +88,7 @@
 
 	ResetType = Data;
 	StdHeader = ConfigPtr;
-
+printk(BIOS_DEBUG, "drivers/agesa %s\n", __func__);
 	//
 	// Perform the RESET based upon the ResetType. In case of
 	// WARM_RESET_WHENVER and COLD_RESET_WHENEVER, the request will go to
diff --git a/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c b/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
index 4dce042..42cc758 100644
--- a/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
+++ b/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
@@ -39,6 +39,7 @@
 }
 
 const BIOS_CALLOUT_STRUCT BiosCallouts[] = {
+	{AGESA_DO_RESET,                 agesa_Reset },
 	{AGESA_FCH_OEM_CALLOUT,          fch_initreset },
 	{AGESA_GNB_PCIE_SLOT_RESET,      agesa_PcieSlotResetControl }
 };

-- 
To view, visit https://review.coreboot.org/21979
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I462a1f81b8d209c15417946a314f2bfb9b226e4d
Gerrit-Change-Number: 21979
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171012/8bfa9966/attachment.html>


More information about the coreboot-gerrit mailing list