u-boot/test/vboot
Stephen Warren 4d907025d6 sandbox: restore ability to access host fs through standard commands
Commit 95fac6ab45 "sandbox: Use os functions to read host device tree"
removed the ability for get_device_and_partition() to handle the "host"
device type, and redirect accesses to it to the host filesystem. This
broke some unit tests that use this feature. So, revert that change. The
code added back by this patch is slightly different to pacify checkpatch.

However, we're then left with "host" being both:
- A pseudo device that accesses the hosts real filesystem.
- An emulated block device, which accesses "sectors" inside a file stored
  on the host.

In order to resolve this discrepancy, rename the pseudo device from host
to hostfs, and adjust the unit-tests for this change.

The "help sb" output is modified to reflect this rename, and state where
the host and hostfs devices should be used.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2014-06-23 15:37:23 -06:00
..
.gitignore Add verified boot information and test 2013-06-26 10:18:57 -04:00
sandbox-kernel.dts Add verified boot information and test 2013-06-26 10:18:57 -04:00
sandbox-u-boot.dts Add verified boot information and test 2013-06-26 10:18:57 -04:00
sign-configs-sha1.its rsa: add sha256-rsa2048 algorithm 2014-03-21 16:39:34 -04:00
sign-configs-sha256.its rsa: add sha256-rsa2048 algorithm 2014-03-21 16:39:34 -04:00
sign-images-sha1.its rsa: add sha256-rsa2048 algorithm 2014-03-21 16:39:34 -04:00
sign-images-sha256.its rsa: add sha256-rsa2048 algorithm 2014-03-21 16:39:34 -04:00
vboot_test.sh sandbox: restore ability to access host fs through standard commands 2014-06-23 15:37:23 -06:00