coreboot-kgpe-d16/src/mainboard/google/cheza
Julius Werner 5d7f5bc973 cheza: Add board reset via Chrome EC
This patch implements board reset on the Cheza board. The real board
reset used by the operating system uses the PMIC, but unfortunately the
PMIC needs to be configured right for that to work. The PMIC
configuration currently happens in the Qualcomm blob (QcLib) that is run
from romstage, but vboot needs to be able to reboot during verstage
already. Porting all the PMIC initialization code to run in the
bootblock seems excessive (and at odds with the goal of doing as little
as possible before verification), so we'll just do a little hack and ask
the EC to perform a cold reset instead. For vboot purposes, this should
work just as well.

BUG=b:118501305
TEST=Hacked vboot code to call vboot_reboot(), confirmed that board
reset and came back up as expected.

Change-Id: I3858d95f481884a87c243d4fa3d6369c1e8a5a2c
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/29849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-12-14 21:09:20 +00:00
..
board.h cheza: board-level GPIO support 2018-12-12 18:39:18 +00:00
board_info.txt
boardid.c cheza: Add board ID, RAM code and SKU ID 2018-08-02 22:09:07 +00:00
bootblock.c cheza: board-level GPIO support 2018-12-12 18:39:18 +00:00
chromeos.c cheza: board-level GPIO support 2018-12-12 18:39:18 +00:00
chromeos.fmd cheza: Wrap FMAP sections with calibration data in RO_PRESERVE section 2018-09-26 15:38:45 +00:00
devicetree.cb
Kconfig cheza: Add board reset via Chrome EC 2018-12-14 21:09:20 +00:00
Kconfig.name
mainboard.c google/cheza: Deassert USB hub reset pin 2018-08-02 22:09:17 +00:00
Makefile.inc cheza: Add board reset via Chrome EC 2018-12-14 21:09:20 +00:00
memlayout.ld
reset.c cheza: Add board reset via Chrome EC 2018-12-14 21:09:20 +00:00
romstage.c arm64: Factor out common parts of romstage execution flow 2018-08-17 21:29:46 +00:00