summaryrefslogtreecommitdiff
path: root/util/getpir/checksum.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2014-03-20 20:31:23 -0700
committerMarc Jones <marc.jones@se-eng.com>2014-12-17 02:12:09 +0100
commit259e49a2c7fff341a65d5b6f1eb28641f39fbe55 (patch)
treea25b9b7329762470337bd4a0a509e2e17d349f78 /util/getpir/checksum.c
parent9acbd6ff994f6cee58287b6b324cd4ab2b470c6f (diff)
elog: Isolate some x86-isms
This attempts to isolate/fix some x86-isms: - Translate flash offset to memory-mapped address only on x86. - Guard ACPI-dependent line of code - Use a Kconfig variable for SPI bus when probing the flash rather than assuming the bus is always on bus 0. - Zero-out timestamp on non-x86 until we have a better abstraction. (note: this is based off of some of Gabe's earlier work) BUG=none BRANCH=none TEST=needs testing Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: I887576d8bcabe374d8684aa5588f738b36170ef7 Original-Reviewed-on: https://chromium-review.googlesource.com/191203 Original-Commit-Queue: David Hendricks <dhendrix@chromium.org> Original-Tested-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-by: Gabe Black <gabeblack@chromium.org> (cherry picked from commit 1fc7a75f8c072098e017104788418aeed0705e93) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Ida4b211cf21ecdde9745d4dbef6a63ffb9fbba8d Reviewed-on: http://review.coreboot.org/7832 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/getpir/checksum.c')
0 files changed, 0 insertions, 0 deletions