coreboot-kgpe-d16/src/mainboard/google/storm
Daisuke Nojiri 81193e6cd8 storm: add code for detecting rec/dev/write protect switches' status
The gpio access code has been moved to a separate file to match other
platforms. Accessor functions are added to read different switches
state. They will be read by verstage, when it is enabled, and by
ramstage, for passing the values to depthcharge.

It is unfortunate that the gpio values are not being cached and can
change by the time CBMEM table is filled, but we have to live with
that for now.

BUG=chrome-os-partner:33756,chrome-os-partner:34161
BRANCH=storm
TEST=none yet.

Change-Id: I229fed0e35d643912f929671d5fc25aee5d1d167
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 7e15aa281a1dbf2c463650b6c04991436022d8d4
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Change-Id: I940b54cd3cf046b94d57d59d370e634a70a8bbeb
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/229426
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9681
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-15 21:55:24 +02:00
..
boardid.c gpio: cosmetic changes to tristate_gpios.c 2015-04-10 11:59:25 +02:00
cdp.c storm: Initialize clock, pinmux for NAND if present on board 2015-04-10 11:57:48 +02:00
chromeos.c storm: add code for detecting rec/dev/write protect switches' status 2015-04-15 21:55:24 +02:00
devicetree.cb
Kconfig CBFS: Correct ROM_SIZE for ARM boards, use CBFS_SIZE for cbfstool 2015-04-14 09:01:23 +02:00
mainboard.c storm: add code for detecting rec/dev/write protect switches' status 2015-04-15 21:55:24 +02:00
Makefile.inc storm: add code for detecting rec/dev/write protect switches' status 2015-04-15 21:55:24 +02:00
memlayout.ld ipq806x: Change all SoC headers to <soc/headername.h> system 2015-04-08 09:34:44 +02:00
reset.c storm: add hard_reset template 2015-04-13 17:36:38 +02:00
romstage.c romstages: use common run_ramstage() 2015-03-20 19:28:25 +01:00