summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-07-11 23:59:53 -0500
committerMartin Roth <martinroth@google.com>2017-07-13 16:44:44 +0000
commitc35a1e888729b060229b4a326b1b42d09cb7c278 (patch)
treefbaf446f6f4fb209240c01a71327a199c89884c7 /src/mainboard
parent7ecb538209aa93e3150159d68ba87a0b1b815f27 (diff)
google/butterfly: add function needed for MRC raminit
All other Sandy/IvyBridge google boards have this function, which is required by nb/sandybridge/raminit_mrc.c. Without it, compilation fails when using MRC vs native ram init. Change-Id: I3318700c540e97baf0a75aafb73f160aaae6703f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/20538 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/butterfly/romstage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/butterfly/romstage.c b/src/mainboard/google/butterfly/romstage.c
index 1ce25b433a..50e037f74e 100644
--- a/src/mainboard/google/butterfly/romstage.c
+++ b/src/mainboard/google/butterfly/romstage.c
@@ -188,3 +188,8 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
};
*pei_data = pei_data_template;
}
+
+int mainboard_should_reset_usb(int s3resume)
+{
+ return !s3resume;
+}