commit | 308429363870cf92a74a60ae8a645aa60b1a3a64 | [log] [tgz] |
---|---|---|
author | J. Richard Barnette <jrbarnette@chromium.org> | Mon Oct 28 15:04:23 2013 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Oct 29 01:47:57 2013 +0000 |
tree | c263d5746d6b7ef1182e4f0666a5784a7c902384 | |
parent | 63137e5ded659c02eb70d59ef38f99aecac4d076 [diff] |
Move KernelDeviceOfBootDevice() to utils. The function to construct the kernel partition block device from its corresponding boot device uses only string manipulations, and doesn't operate on the underlying hardware. This removes the function from HardwareInterface, in favor of utils. BUG=None TEST=unit tests Change-Id: I94b2c477413c4b484045a696f0ffbc77d9853195 Reviewed-on: https://chromium-review.googlesource.com/174913 Commit-Queue: Richard Barnette <jrbarnette@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org>