From c35a1e888729b060229b4a326b1b42d09cb7c278 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 11 Jul 2017 23:59:53 -0500 Subject: google/butterfly: add function needed for MRC raminit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/20538 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel --- src/mainboard/google/butterfly/romstage.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/butterfly/romstage.c') 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; +} -- cgit v1.2.3