summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-08-20 15:08:47 +0800
committerChromeBot <chrome-bot@google.com>2013-08-21 19:19:43 -0700
commit798cc91de11d5a78e379c67731dcafaf2aae01e1 (patch)
tree8865be4f55ee70451593b187b6c02aa3bf022550 /utility
parent195e4e8b03f98cb4ad841566053324b85b8903ea (diff)
downloadvboot-798cc91de11d5a78e379c67731dcafaf2aae01e1.tar.gz
Change flashrom target selection parameter.
The "-p internal:bus=*" is now deprecated by "-p {host,ec}" because we may have EC on SPI bus. BUG=none TEST=manually executed dev_debug_vboot and see correct output. BRANCH=none Change-Id: I6363c09c2ebf57812bf35b7db220303a2786db20 Reviewed-on: https://gerrit.chromium.org/gerrit/66321 Tested-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org> Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'utility')
-rwxr-xr-xutility/dev_debug_vboot6
1 files changed, 3 insertions, 3 deletions
diff --git a/utility/dev_debug_vboot b/utility/dev_debug_vboot
index 760d6f86..698a5bd8 100755
--- a/utility/dev_debug_vboot
+++ b/utility/dev_debug_vboot
@@ -260,7 +260,7 @@ devs=$(awk '/(mmcblk[0-9])$|(sd[a-z])$/ {print "/dev/"$4}' /proc/partitions)
for d in $devs; do
log cgpt show $d
done
-log flashrom -V -p internal:bus=spi --wp-status
+log flashrom -V -p host --wp-status
tpm_fwver=$(crossystem tpm_fwver) || tpm_fwver="UNKNOWN"
tpm_kernver=$(crossystem tpm_kernver) || tpm_kernver="UNKNOWN"
set -e
@@ -273,14 +273,14 @@ if [ -n "${OPT_BIOS}" ]; then
fix_old_names
else
# Read it from the flash
- if log flashrom -p internal:bus=spi -r bios.rom ; then
+ if log flashrom -p host -r bios.rom ; then
# If we can read the whole BIOS at once, great.
log dump_fmap -x bios.rom
fix_old_names
else
# Otherwise pull just the components we want (implying new-style names)
info " ...individually..."
- log flashrom -p internal:bus=spi -r /dev/null \
+ log flashrom -p host -r /dev/null \
-i"GBB":GBB \
-i"VBLOCK_A":VBLOCK_A \
-i"VBLOCK_B":VBLOCK_B \