samus: Ensure PD controller is in RO mode for recovery
In order to not break FAFT, and to have a quicker recovery mode boot, reboot the PD controller into RO image in romstage. This is done before the EC since rebooting the EC into RO will also reboot the host. BUG=chrome-os-partner:30079 BRANCH=none TEST=boot samus EVT into recovery with 'dut-control power_state:rec' and ensure that the PD controller is rebooted to RO in romstage. Change-Id: I633f51afc382a7faab825c15618c0bc7566c4395 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/218904 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b0b31da336
commit
19237f6a33
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@ void mainboard_romstage_entry(struct romstage_params *rp)
|
|||
printk(BIOS_INFO, "MLB: board version %d\n",
|
||||
google_chromeec_get_board_version());
|
||||
|
||||
/* Ensure the EC is in the right mode for recovery */
|
||||
/* Ensure the EC and PD are in the right mode for recovery */
|
||||
google_chromeec_early_pd_init();
|
||||
google_chromeec_early_init();
|
||||
|
||||
/* Initialize GPIOs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue