Mary Ruthven f1f1203431 cr50: use the correct reset signal for gru and reef
Boards that have plt_rst_l had sys_rst_l currently use the two signals
to detect resets and reset the TPM. That meant that the TPM could reset
twice depending on the timing of those signals. On boards with
plt_rst_l, we should really just use that to detect system resets and
not sys_rst_l. On boards with plt_rst_l, sys_rst_l should only be used
as an output to trigger warm resets.

This change makes both boards use the gpio tpm_rst_l_in to detect AP
resets. That gpio will be connected to a different pin depending on
which board we are using. On Gru the gpio will be connected to diom0
which is sys_rst_l, and reef will use diom3 which is plt_rst_l.

BUG=chrome-os-partner:61789
BRANCH=none
TEST=manual
	Use cr50 servo to verify the contents of /var/cache survive
	reset after 'dut-control warm_reset:on sleep:0.5000
	warm_reset:off'

	test on gru and reef

	verify that the system can boot to kernel

	run 'sysrst pulse' and check that you only see one system reset

	use 'pinmux' to verify the pins for the two types of boards are
	setup properly

	on reef diom0 is an input, diom3 is an input with wake_falling,
	and gpio1_gpio1 uses diom3

	on gru check that diom0 is an input with wake_falling, diom3 is
	not configured, and gpio1_gpio1 uses diom0

Change-Id: I1f6e8bfa525ffa5585a18282b78014f36f0cfee6
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/428130
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-01-18 16:06:56 -08:00
2017-01-13 21:48:55 -08:00
2017-01-11 14:46:29 -08:00
2016-11-10 21:28:33 -08:00
2016-09-09 19:20:12 -07:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2015-12-08 20:05:05 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%