diff options
author | Nam T. Nguyen <namnguyen@chromium.org> | 2015-01-21 09:40:17 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-22 21:14:18 +0000 |
commit | 549205787527d85dead8968af7a1e1064cafa00e (patch) | |
tree | a83e80bac3fa6bdfe5e2f7b09a60a221963b1b99 /cgpt/cgpt_nor.c | |
parent | 004851f6612d15e8b958f911550eeb2b208773b3 (diff) | |
download | vboot-549205787527d85dead8968af7a1e1064cafa00e.tar.gz |
cgpt: Properly show ChromeOS-scheme MTD partitions
When working on NAND, we do not actually work with one device name. We
work on a temporary file instead. Moreover, depending on the type of the
partition, we need to show different devices.
BUG=None
BRANCH=None
TEST=All commands must be run on storm_nand
TEST=/usr/bin/cgpt.bin find -t kernel should print out /dev/mtd2
TEST=/usr/bin/cgpt.bin find -t rootfs should print out /dev/ubiblock5_0
TEST=/usr/bin/cgpt.bin find -t data should print out /dev/ubi1_0
Change-Id: Ia36777ffa6a9cfc7c8ec4b128e49ece140428238
Reviewed-on: https://chromium-review.googlesource.com/242291
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Nam Nguyen <namnguyen@chromium.org>
Commit-Queue: Nam Nguyen <namnguyen@google.com>
Diffstat (limited to 'cgpt/cgpt_nor.c')
0 files changed, 0 insertions, 0 deletions