Figuring out board_id on storm requires reading tertiary gpios, which takes time. Let's calculate it once and reuse it when necessary.
BUG=none TEST=verified board ID reported as 0 and 1 on proto0 and proto0.2 respectively.
Change-Id: I69f6afa3de8a175a1d723e95902efd15607e68b7
2786ce0 storm: make sure board ID is calculated only once
src/mainboard/google/storm/boardid.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Upstream: review.coreboot.org