coreboot-kgpe-d16/src
Vadim Bendebury 81678809d5 storm: Add board ID calculation function
storm uses three GPIOs in tertiary mode, such that proto0 returns
value of 8 when the GPIOs are interpreted as a single tertiary number.

Adjust the calculated value to return board ID of 0 on proto0, and
monotonously incrementing values on newer boards.

BUG=chrome-os-partner:30489
TEST=when enabled, the board ID value of zero is reported on the console.

Original-Change-Id: I2ff8fd5cbc8d568877b6f8bf220e146893f1e4be
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/210118
(cherry picked from commit 6ba24f31583933f02be111c8767ae9df56537011)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I35ee218df35a0924d4bb8fcbc6c875450a609f24
Reviewed-on: http://review.coreboot.org/8721
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-03-23 17:20:21 +01:00
..
arch mips: fix bootblock stack definitions 2015-03-23 15:34:36 +01:00
console console: Allow bootblock console on MIPS 2015-03-23 15:35:06 +01:00
cpu imgtec/danube: Add support for ImgTec Danube SoC 2015-03-21 16:57:08 +01:00
device PCIe: Revise L1 Sub-State support 2015-03-23 13:11:18 +01:00
drivers verstage should include the CBFS SPI wrapper, when configured 2015-03-20 16:04:52 +01:00
ec chromeec: use stopwatch API 2015-03-21 17:00:26 +01:00
include Publish the board ID value in coreboot table, when configured 2015-03-23 17:20:13 +01:00
lib Publish the board ID value in coreboot table, when configured 2015-03-23 17:20:13 +01:00
mainboard storm: Add board ID calculation function 2015-03-23 17:20:21 +01:00
northbridge cpu/amd/model_10xxx: Add support for early cbmem 2015-03-19 08:28:43 +01:00
soc ipq806x: implement GPIO API 2015-03-23 17:20:07 +01:00
southbridge CBMEM: Add LATE_CBMEM_INIT guards 2015-03-19 06:17:07 +01:00
superio superio: ite8772f: Exit extemp busy state 2015-03-21 08:44:28 +01:00
vendorcode loaders: add program_loading.h header file 2015-03-20 19:25:29 +01:00
Kconfig Publish the board ID value in coreboot table, when configured 2015-03-23 17:20:13 +01:00