diff options
author | Ryan Lin <ryan.lin@intel.com> | 2015-01-18 21:32:44 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-21 08:09:14 +0200 |
commit | b2deb222152246ba9058a974326be47f2f2f2ae9 (patch) | |
tree | dc375892bccf6d1bf4ce746655041ad740024780 /src/soc/intel | |
parent | f92edfe59c867ff2117f3cf3196702ae3b8106d5 (diff) |
broadwell: Implement Recovery Button
This patch fixes the use of the recovery button, and the value is stored
in a SATA controller scratch register.
BUG=chrome-os-partner:35241
BRANCH=none
TEST=Use recovery button and run firmware_RecoveryButton
Change-Id: Ia06f147c7e44d6c4eea2c2e4f502c233c956ee9b
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 34c7ee922a9602b3448a72cd669fd68feeed1bba
Original-Change-Id: I1667c7f188b0f87c4bc7caa82f9c977b2b4c0611
Original-Signed-off-by: Ryan Lin <ryan.lin@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/241772
Original-Reviewed-by: Shawn N <shawnn@chromium.org>
Reviewed-on: http://review.coreboot.org/9811
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/broadwell/romstage/romstage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/romstage/romstage.c b/src/soc/intel/broadwell/romstage/romstage.c index e8a72914b0..bf9e2ed3e9 100644 --- a/src/soc/intel/broadwell/romstage/romstage.c +++ b/src/soc/intel/broadwell/romstage/romstage.c @@ -80,6 +80,10 @@ void * asmlinkage romstage_main(unsigned long bist, /* Call into mainboard. */ mainboard_romstage_entry(&rp); +#if CONFIG_CHROMEOS + save_chromeos_gpios(); +#endif + return setup_stack_and_mttrs(); } |