Subrata Banik has uploaded this change for review.

View Change

soc/intel/common: Have weak implementation for do_global_reset()

Not all IA SoC implement do_global_reset() function locally hence have a
weak implementation for do_global_reset() inside common reset.c in order
to call global_reset() function from common code.

Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Change-Id: I934b41affed7bb146f53ff6a4654fdbc6626101b
---
M src/soc/intel/common/reset.c
1 file changed, 5 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/47017/1
diff --git a/src/soc/intel/common/reset.c b/src/soc/intel/common/reset.c
index c6c394b..0eb532b 100644
--- a/src/soc/intel/common/reset.c
+++ b/src/soc/intel/common/reset.c
@@ -8,6 +8,11 @@

#include "reset.h"

+void __weak do_global_reset(void)
+{
+ /* Default empty implementation. */
+}
+
void global_reset(void)
{
printk(BIOS_INFO, "%s() called!\n", __func__);

To view, visit change 47017. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I934b41affed7bb146f53ff6a4654fdbc6626101b
Gerrit-Change-Number: 47017
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik@intel.com>
Gerrit-MessageType: newchange